Re: picolisp sandbox tool

2021-04-14 Thread ‍Cedrice Ermineii
> there is at least one Also there is https://www.jdoodle.com/execute-picolisp-online/ -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: Why do waitFd and gPoll use 292MY for timeout?

2021-04-14 Thread Alexander Burger
Hi all, I just stumbled across this mail in the archive. I have not received it, and the sending e-mail address seems just "picolisp". > picolisp Sun, 11 Apr 2021 15:05:25 -0700 > > I am trying to fix infinite select errors about 292MY. > > On my mac (int)9223372036854775807 == -1 which means no

Re: Why do waitFd and gPoll use 292MY for timeout?

2021-04-14 Thread Alexander Burger
On Thu, Apr 15, 2021 at 07:46:35AM +0200, Alexander Burger wrote: > Hi all, > > I just stumbled across this mail in the archive. I have not received it, and > the > sending e-mail address seems just "picolisp". > > > picolisp Sun, 11 Apr 2021 15:05:25 -0700 Ah, that's all right! There is indeed

Re: Why do waitFd and gPoll use 292MY for timeout?

2021-04-14 Thread Andras Pahi
Hi, Yes, ‘int’ is 32bit on macOS, even when compiling to 64bit. The pil21 demoApp does not work on macOS. pahihu sizeof(char) = 1 sizeof(short) = 2 sizeof(int) = 4 sizeof(long) = 8 sizeof(long long) = 8 sizeof(float) = 4 sizeof(double) = 8 sizeof(long double) = 16 sizeof(void*) = 8 > On 2021.

Re: Why do waitFd and gPoll use 292MY for timeout?

2021-04-14 Thread Alexander Burger
On Thu, Apr 15, 2021 at 08:07:21AM +0200, Andras Pahi wrote: > Hi, > > Yes, ‘int’ is 32bit on macOS, even when compiling to 64bit. > The pil21 demoApp does not work on macOS. Thanks Andras! That's too bad! If poll(2) uses only 32 bits for the timeout, the maximum is 49 days (as opposed to the 29

Re: Why do waitFd and gPoll use 292MY for timeout?

2021-04-14 Thread Alexander Burger
On Thu, Apr 15, 2021 at 08:32:32AM +0200, Alexander Burger wrote: > That's too bad! If poll(2) uses only 32 bits for the timeout, the maximum is > 49 > days (as opposed to the 292 million years (292MY) in 64 bits). Not even that! For signed 32 bits it is only 24 days :( Should I change the desig