public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] about the kernel api function : cyg_selwakeup
@ 2000-12-05 20:13 wangwei
  2000-12-05 20:40 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: wangwei @ 2000-12-05 20:13 UTC (permalink / raw)
  To: ecos

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 .
   someone help me
   thanks !


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] about the kernel api function : cyg_selwakeup
  2000-12-05 20:13 [ECOS] about the kernel api function : cyg_selwakeup wangwei
@ 2000-12-05 20:40 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2000-12-05 20:40 UTC (permalink / raw)
  To: wangwei; +Cc: ecos

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-12-05 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-05 20:13 [ECOS] about the kernel api function : cyg_selwakeup wangwei
2000-12-05 20:40 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).