>>>Second thread obtain access to COM object method only after first
>>>thread leave COM object method code!!!
>>
>>How do you log?
>
> COM object write debug infomation to log file.
Are you sure that the log method doesn't snychronize the threads?
> Web service return debug info as result string.
You should use Context.Trace.Write (....) of your WebService,
and don't log something to file from your COM object, unless
you can assure it is totally asynchronous.
Rob
Jarylka@gmail.com - 14 Sep 2005 11:17 GMT
> >>>Second thread obtain access to COM object method only after first
> >>>thread leave COM object method code!!!
[quoted text clipped - 4 lines]
>
> Are you sure that the log method doesn't snychronize the threads?
Even if the log method calling synchronizes the threads the lion's
share of loss of time accounts for "Sleep" procedure.