Poll with zero or negative timeout

Jean-Christian de Rivaz jc at eclis.ch
Tue Oct 23 11:02:23 UTC 2007


Joakim Tjernlund a écrit :
> And why not pass NULL as it was before?

The man 2 ppoll say:

"If timeout is specified as NULL, then ppoll() can block indefinitely."

So you are right, it's possible to passe a null pointer to do the same 
as negative value.

A new patch is in attachement.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: poll-zero-timeout.txt
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20071023/365ad841/attachment-0002.txt 


More information about the uClibc mailing list