This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: about the kernel api function : cyg_selwakeup
- To: wangwei <wangw at start dot com dot cn>
- Subject: Re: [ECOS] about the kernel api function : cyg_selwakeup
- From: Jonathan Larmour <jlarmour at cygnus dot co dot uk>
- Date: Wed, 06 Dec 2000 04:40:09 +0000
- CC: ecos <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Red Hat UK Ltd.
- References: <000301c05f37$12ba1980$592da8c0@ww.term.star.com.cn>
wangwei wrote:
>
> Hi:
> I'm just reading the serial device driver of eCos.
> In file /io/src/serial.c,the function cyg_selwakeup is used many times .
> But I don't understand what's the meaning and usage of the function and I
> can't find it in the document of the eCos .
It's actually mentioned in the "Guide to the eCos plug-in filesystem
architecture" at http://sources.redhat.com/ecos/docs-latest/
It's purpose is to wake up any threads waiting in select(), that are
waiting on fd's associated with serial drivers.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault