[Mono-list] calling BeginXXX in a thread of system thread pool

GaoXianchao gxcmaillist at gmail.com
Mon Apr 10 10:02:03 EDT 2006


Hi all,

I saw this in MSDN:
"All I/O initiated by a given thread is canceled when that thread
exits. A pending asynchronous operation can fail if the thread exits
before the operation completes."

so I have a question :
If I call a BeginXXX function in a thread of system thread pool(for
example, calling Socket.BeginReceive in receive_callback function
again),  will the thread be terminated before the asynchronous
poeration is completed?

Thanks a lot!


More information about the Mono-list mailing list