This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
How do I manually clear wakeup_event.chan?
- To: <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] How do I manually clear wakeup_event.chan?
- From: AshCan at aol dot com
- Date: Fri, 27 Oct 2000 20:27:19 EDT
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