Re: Connection pooling help
From: Pablo Castro [MS] (pablocas_at_online.microsoft.com)
Date: 06/08/04
- Next message: ASP.Confused: "Re: Memory leak in ASP.NET web site"
- Previous message: ASP.Confused: "Re: Memory leak in ASP.NET web site"
- In reply to: Carl: "Re: Connection pooling help"
- Next in thread: Carl: "RE: Connection pooling help"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 8 Jun 2004 13:37:33 -0700
Yes, it means what you say below. You cannot invoke methods of the same
instance from different threads at the same time. You CAN invoke methods
from different instances from different threads at the same time without any
synchronization.
-- Pablo Castro Program Manager - ADO.NET Team Microsoft Corp. This posting is provided "AS IS" with no warranties, and confers no rights. "Carl" <anonymous@discussions.microsoft.com> wrote in message news:845502A2-97FC-4DC8-A465-0B1687B21C38@microsoft.com... > Hi. Thanks a million. I still have one last question. On the MSDN website, this is what is written with respect to Thread Safety for class OracleConnection: > "Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe." > What exactly do they mean by any instance member is not guaranteed to be thread safe? Do they mean: one instance shared by multiple threads (in other words same as declaring it "static") is not thread safe - which does make sense, or is it something else? > I know I'll be asked this question, I can't answer it. > Thanks again. > Carl
- Next message: ASP.Confused: "Re: Memory leak in ASP.NET web site"
- Previous message: ASP.Confused: "Re: Memory leak in ASP.NET web site"
- In reply to: Carl: "Re: Connection pooling help"
- Next in thread: Carl: "RE: Connection pooling help"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|