Re: what does poll(0, 0, 100) do?
- From: Casper H.S. *** <Casper.***@xxxxxxx>
- Date: 23 Jun 2006 15:15:29 GMT
"wenmang@xxxxxxxxx" <wenmang@xxxxxxxxx> writes:
I am wondering what poll(0, 0, 100) does in the code? Does poll suppose
to return immediately?
It sleeps for at least 100ms, unless interrupted.
(It waits for an event but there won't be any)
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
.
- References:
- what does poll(0, 0, 100) do?
- From: wenmang@xxxxxxxxx
- what does poll(0, 0, 100) do?
- Prev by Date: Re: what does poll(0, 0, 100) do?
- Next by Date: Not reading, or sending, fast enough on my serial application
- Previous by thread: Re: what does poll(0, 0, 100) do?
- Next by thread: Not reading, or sending, fast enough on my serial application
- Index(es):