[En-Nut-Discussion] NutUdpReceiveFrom blocks in a thread
cbrumley at gopolar.com
Thu May 27 15:43:41 CEST 2010
I have a situation where I'm attempting to use NutUdpReceiveFrom in a
thread. However, the thread seems to be blocking on the call to
NutUdpReceiveFrom, even though I have a short timeout.
Here's a snippet of my thread code:
char buff; //on the heap
printf("Starting Rx Thread...\n");
printf("Got some data!\n");
NutUdpSendTo(sock,...); //to illustrate send and receive are on
The use of this thread causes the other threads in the system not to run. I
don't even see the terminal output from the Rx Thread. I would think stack
overflow, but none of the exception handlers are executing.
Is there an issue with the thread safeness of NutUdpReceiveFrom?
More information about the En-Nut-Discussion