M
MuZZy
Hi,
Sorry for a repeated post but i didn't receive an answer and will try to re-phrase my question:
How do i close an additional thread from the main thread,
if this additional thread is stuck waiting for a blocking operation, eg.
if in this additional thread i wait for a Tcp connection:
Socket s = tcpListener.AcceptSocket();
Thread will get stuck on this line if no incoming connection occures...
So how do i close this thread from outside in this case?
Abort doesn't work, no exception gets thrown in the thread...
Please HELP!!!
Any ideas would be appreciated!
Thank you,
Andrey
Sorry for a repeated post but i didn't receive an answer and will try to re-phrase my question:
How do i close an additional thread from the main thread,
if this additional thread is stuck waiting for a blocking operation, eg.
if in this additional thread i wait for a Tcp connection:
Socket s = tcpListener.AcceptSocket();
Thread will get stuck on this line if no incoming connection occures...
So how do i close this thread from outside in this case?
Abort doesn't work, no exception gets thrown in the thread...
Please HELP!!!
Any ideas would be appreciated!
Thank you,
Andrey