RE: await asleep

2005-07-27 Thread Norbert Koch
The functions await() and asleep() in kern_synch.c are marked as EXPERIMENTAL/UNTESTED. Is this comment still valid? Does anyone have used those functions successfully? Should I better not use them in my device driver code for RELENG_4? How do I correctly cancel a request (as I should

RE: await asleep

2005-07-27 Thread Daniel Eischen
On Wed, 27 Jul 2005, Norbert Koch wrote: The functions await() and asleep() in kern_synch.c are marked as EXPERIMENTAL/UNTESTED. Is this comment still valid? Does anyone have used those functions successfully? Should I better not use them in my device driver code for RELENG_4?

Re: await asleep

2005-07-27 Thread Scott Long
Daniel Eischen wrote: On Wed, 27 Jul 2005, Norbert Koch wrote: The functions await() and asleep() in kern_synch.c are marked as EXPERIMENTAL/UNTESTED. Is this comment still valid? Does anyone have used those functions successfully? Should I better not use them in my device driver code for

Re: await asleep

2005-07-27 Thread Daniel Eischen
On Wed, 27 Jul 2005, Scott Long wrote: Daniel Eischen wrote: On Wed, 27 Jul 2005, Norbert Koch wrote: The functions await() and asleep() in kern_synch.c are marked as EXPERIMENTAL/UNTESTED. Is this comment still valid? Does anyone have used those functions successfully? Should I better

Re: await asleep

2005-07-27 Thread Scott Long
Daniel Eischen wrote: On Wed, 27 Jul 2005, Scott Long wrote: Daniel Eischen wrote: On Wed, 27 Jul 2005, Norbert Koch wrote: The functions await() and asleep() in kern_synch.c are marked as EXPERIMENTAL/UNTESTED. Is this comment still valid? Does anyone have used those functions

Re: await asleep

2005-07-27 Thread Daniel Eischen
On Wed, 27 Jul 2005, Scott Long wrote: Daniel Eischen wrote: My mistake then. I thought they were deprecated when mutex and CVs were introduced. There is no need for them except for compatability, Incorrect. A mutex is not a replacement for sleep. CV's and semaphores implement some

Re: await asleep

2005-07-27 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Scott Long [EMAIL PROTECTED] writes: : and the priority argument of tsleep() doesn't have any meaning : any longer, right? : : : I thought it did, but John can give the definitive answer. Priority is still useful. It is the same priority that msleep

await asleep

2005-07-26 Thread Norbert Koch
Hello. The functions await() and asleep() in kern_synch.c are marked as EXPERIMENTAL/UNTESTED. Is this comment still valid? Does anyone have used those functions successfully? Should I better not use them in my device driver code for RELENG_4? How do I correctly cancel a request (as I should do

Re: await asleep

2005-07-26 Thread Scott Long
Norbert Koch wrote: Hello. The functions await() and asleep() in kern_synch.c are marked as EXPERIMENTAL/UNTESTED. Is this comment still valid? Does anyone have used those functions successfully? Should I better not use them in my device driver code for RELENG_4? How do I correctly cancel a