[ECOS] waking a thread that's in select()?

Grant Edwards grante@visi.com
Thu Sep 28 07:48:00 GMT 2000


I've got a thread that is doing a select() on a set of sockets
(waiting for incoming TCP requests).  Is there a way for
another thread to wake-up the select()ing thread?

For example when configuration changes changes, I'd like to
wake up the select()ing thread so it can adjust the set of
sockets on which it's waiting.

If that's not possible, I can make the select() time out once a
second and then check to see if the configuration data has
changed.

-- 
Grant Edwards
grante@visi.com


More information about the Ecos-discuss mailing list