Re: Re : [Chicken-users] thread-sleep! for less than a second

2007-01-17 Thread felix winkelmann
On 1/16/07, Daishi Kato <[EMAIL PROTECTED]> wrote: Or, since timeout for these procedures including thread-sleep! can be a time object, introducing time->milliseconds and milliseconds->time would be sufficient. It's now checked into the darcs repo, here the patch: --- old-chicken/srfi-18.scm

Re : Re : [Chicken-users] thread-sleep! for less than a second

2007-01-16 Thread minh thu
2007/1/15, felix winkelmann <[EMAIL PROTECTED]>: On 1/13/07, Daishi Kato <[EMAIL PROTECTED]> wrote: > Hi, > > That was something that I could not notice either at first. > Another issue for me is that I want to declare fixnum > when all other procedures are fixnum arithmetic. > So, I wished threa

Re: Re : [Chicken-users] thread-sleep! for less than a second

2007-01-16 Thread felix winkelmann
On 1/16/07, Daishi Kato <[EMAIL PROTECTED]> wrote: Sure, and done. Thanks. With the latter solution, we don't need thread-sleep!/ms, right? Exactly. cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org

Re: Re : [Chicken-users] thread-sleep! for less than a second

2007-01-15 Thread Daishi Kato
On 1/16/07, felix winkelmann <[EMAIL PROTECTED]> wrote: On 1/16/07, Daishi Kato <[EMAIL PROTECTED]> wrote: > > BTW, timeout is also used for thread-join!, mutex-lock! and > mutex-unlock! in srfi-18. > It'd be more consistent to have */ms procedures for these above. > Or, since timeout for these p

Re: Re : [Chicken-users] thread-sleep! for less than a second

2007-01-15 Thread felix winkelmann
On 1/16/07, Daishi Kato <[EMAIL PROTECTED]> wrote: BTW, timeout is also used for thread-join!, mutex-lock! and mutex-unlock! in srfi-18. It'd be more consistent to have */ms procedures for these above. Or, since timeout for these procedures including thread-sleep! can be a time object, introduci

Fwd: Re : [Chicken-users] thread-sleep! for less than a second

2007-01-15 Thread Daishi Kato
This is supposed to go the chicken ML. -- Forwarded message -- From: Daishi Kato <[EMAIL PROTECTED]> Date: Jan 16, 2007 10:43 AM Subject: Re: Re : [Chicken-users] thread-sleep! for less than a second To: felix winkelmann <[EMAIL PROTECTED]> Thanks a lot! BTW, tim

Re: Re : [Chicken-users] thread-sleep! for less than a second

2007-01-15 Thread felix winkelmann
On 1/13/07, Daishi Kato <[EMAIL PROTECTED]> wrote: Hi, That was something that I could not notice either at first. Another issue for me is that I want to declare fixnum when all other procedures are fixnum arithmetic. So, I wished thread-sleep-millis! Any workaround for this? Maybe making a tiny

Re: Re : [Chicken-users] thread-sleep! for less than a second

2007-01-12 Thread Daishi Kato
Hi, That was something that I could not notice either at first. Another issue for me is that I want to declare fixnum when all other procedures are fixnum arithmetic. So, I wished thread-sleep-millis! Any workaround for this? Maybe making a tiny egg for this? Daishi On 1/13/07, minh thu <[EMAIL

Re : [Chicken-users] thread-sleep! for less than a second

2007-01-12 Thread minh thu
2007/1/12, Kon Lovett <[EMAIL PROTECTED]>: On Jan 12, 2007, at 1:36 PM, minh thu wrote: > Hi, > > Question again, my apologies ;) > > Is it possible to have a thread sleep some milliseconds ? thread-sleep! (the seconds do not need to be a whole number) Tks, I didn't see it in the chicken doc o

Re: [Chicken-users] thread-sleep! for less than a second

2007-01-12 Thread Kon Lovett
On Jan 12, 2007, at 1:36 PM, minh thu wrote: Hi, Question again, my apologies ;) Is it possible to have a thread sleep some milliseconds ? thread-sleep! (the seconds do not need to be a whole number) I want to have a thread poll xlib for some events but not in tight loop neither only ever