On Thu, Apr 15, 2021 at 08:42:04AM +0200, Alexander Burger wrote:
> Should I change the design of waitFd() to use only 32 bits?

Looks like I should do that.

poll(2) is badly specified, using only int for the timeout. But we have to live
with that, there may be other ABIs (other BSDs?) which define 'int' as 32 bits.

So I could change waitFd() to use -1 internally if a maximal value of 24 days is
passed. This would mean that all relevant Lisp-level functions ('wait', 'sync',
'key' and readline input) may wait forever.

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to