Subject: | loop_once with no timeout does a poll |
The man page says that loop_once called without a timeout will stall the
thread/process until there is a request. The implementation converts
such a call into a poll with an immediate return if there is not traffic.
The second line of loop_once defaults the timeout to 0 if it is
undefined. This needs to be handle by leaving undefined and fixing the
uses of the timeout parameter later on to cope with undefined.