chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Ensure sleep seconds is a fixnum on Window


From: Jim Ursetto
Subject: Re: [Chicken-hackers] [PATCH] Ensure sleep seconds is a fixnum on Windows; also, don't halve sleep time
Date: Sat, 16 Mar 2013 14:29:46 -0500

If this patch was acceptable, could someone please apply it?  Thanks.

Jim

On Feb 19, 2013, at 9:45 AM, Jim Ursetto wrote:

> No, it returns 0 to indicate that zero seconds of sleep time remain (it was 
> not interrupted), just like posix sleep.  See the UNIX code, the Windows code 
> prior to the regression, sleep(3), and the chicken docs.
> Jim
> 
> On Feb 19, 2013, at 4:34, Peter Bex <address@hidden> wrote:
> 
>> On Tue, Feb 19, 2013 at 02:03:44AM -0600, Jim Ursetto wrote:
>>> sleep accepts any type arg but should accept only fixnums; also fix a 
>>> regression in be44f5328.
>> 
>> Shouldn't it return undefined rather than 0?  This seems like a bug in
>> the original implementation.
>> 
>> Cheers,
>> Peter
>> -- 
>> http://www.more-magic.net
>> 
>> _______________________________________________
>> Chicken-hackers mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/chicken-hackers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]