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]

Re: about the kernel api function : cyg_selwakeup


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

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