J
John
Is there a way to know the name (or hashcode) of the thread that will
be used by ThreadPool.QueueUserWorkItem ?
The reason for that is that i want to update clients with ordered data.
I mean that when i send some info to client A (say '1'), i do not want
to send it anoter info (say '2') until i'm sure it received the first
one.
However this could easily occur in the Threapool and to prevent this i
would block sending client A info until its threads is dead
Thanks
be used by ThreadPool.QueueUserWorkItem ?
The reason for that is that i want to update clients with ordered data.
I mean that when i send some info to client A (say '1'), i do not want
to send it anoter info (say '2') until i'm sure it received the first
one.
However this could easily occur in the Threapool and to prevent this i
would block sending client A info until its threads is dead
Thanks