On Sat, Apr 17, 2021 at 04:21:53PM +0200, Alexander Burger wrote: > Hmm, I'm just testing the ppoll() version ... What to do?
OK, as ppoll() works fine on Linux (tests passed), I will keep it. This covers most use cases, including Servers (Debian), PilBox (Android) and smaller stuff (Raspi). I put an #ifdef for other systems, using poll() and setting infinite timeout above 24 days. BTW, the problems on MacOS are not explained with this. Even more as we now know that on Linux too the 64 bit timeout was truncated to 32 bits. And I think nowhere (e.g. demo app) such a big timeout was passed so that the value wrapped to negative. Something else must be seriously wrong. ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe