[ECOS] How do I manually clear wakeup_event.chan?

AshCan@aol.com AshCan@aol.com
Fri Oct 27 17:27:00 GMT 2000


In testing my software, I am trying to gracefully 
shutdown and close the socket and then delete the 
thread.  

This works until the number of thread deletions exceeds 
my CYG_NET_NUM_WAKEUP_EVENTS = 8 and I get ETIMEDOUT upon connect.  I look 
into the wakeup_list[] structure 
array and sure enough, it is fully occupied.  

Is there an easy function call I can make to clear the 
socket's wakeup_event structre entry before I terminate 
the thread?

I am using v1.3.1, ARM EDB7212 target.

regards,

Dan Ash
SonicBox


More information about the Ecos-discuss mailing list