on Friday, September 5, 2008, 12:14:59 AM Edi wrote:
In this case, you don't want to use a global lock, though, and I wonder how expensive it is to have one lock per session. I have to think about this a bit...
One per session is better IMO; lock in the worst case is several bytes + maybe a string if you will provide a name - quite cheap.
Best regards, -Anton