on-internet
← Community

System.Threading.ThreadAbortException: Thread was being aborted - which Thread?

Stack Overflow ·

I have a web site which continuously reads data from another site and plots that information on a map. I have a socket started as client.BeginReceive(state.buffer, 0, StateObject.BufferSize, 0, new AsyncCallback(ReceiveCallback), state); ReceiveCallback reads the data and dumps it in a Queue for another thread to analyse and then sets the waithandle to start that thread. readBytesWaitHandle.Set(); Very rarely I am getting the following error System.Threading.ThreadAbortException: Thread was being aborted. at System.Threading.WaitHandle.WaitOneNative(SafeHandle waitableSafeHandle, UInt32 millis

Comments

Sign in or sign up to comment and upvote.

No comments yet.