Cyberactiva - webmaster tutorials, programming and videogames tricks

webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu
  

Critical Section in a Webservice?

Critical Section in a Webservice?
Hi!

I've been migrating some legacy ISAPI appliations to .NET Webservice. In
one, I call a third party routine which is not thread safe. In the ISAPI
world, I put a critical section around the call to avoid problems.
Is there a comparable strategy in Webservices?
TIA
Harry
We talked about this before here:

http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet.webservices/browse_thread/thread/bfcff84f6b264aa6/f92c77b1091454e1?lnk=st&q=&rnum=36#f92c77b1091454e1

Note that a lock (monitor) is local to the appdomain (of which there
can be several within a process - you might even have multiple
processes too), so you should consider whether you need to use a mutex
to synchronise access for the whole box.

Josh


Deepak and Josh --

Thanks so much for the pointers!
Best
Harry
Register for freeMembers Area
Web MarketingLast Web Marketing
Web MarketingLast Programming Tips
Web MarketingLast News


Web Marketing Links and links exchange .