This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How do I manually clear wakeup_event.chan?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]