[interfacekit] Re: Fwd: BAutolock
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Thu, 11 Sep 2003 17:51:54 +0200 CEST
"burton666@xxxxxxxxx" <burton666@xxxxxxxxx> wrote:
> > Without checking for the return argument of acquire_sem() safely in
> > the
> > kernel, but not in userland. The only reason why the above call
> > would
> So, in userland, we should always do
>
> while(acquire_sem(someLock) == B_INTERRUPTED)
> ;
>
> right?
Depending on what you want to do, yes :-)
> Even in case of acquire_sem_etc() calls ?
Yes. The B_CAN_INTERRUPT flag is always set for userland semaphores.
> If so, you should better run and fix the opentracker right now :PPP,
> since there is EXACTLY one acquire_sem_etc call around which is
> not like this :P
Oh my god :-)
Adios...
Axel.
- References:
- [interfacekit] Re: Fwd: BAutolock
- From: burton666@xxxxxxxxx
Other related posts:
- » [interfacekit] Fwd: BAutolock
- » [interfacekit] Re: Fwd: BAutolock
- » [interfacekit] Re: Fwd: BAutolock
- » [interfacekit] Re: Fwd: BAutolock
- » [interfacekit] Re: Fwd: BAutolock
- » [interfacekit] Re: Fwd: BAutolock
- » [interfacekit] Re: Fwd: BAutolock
- » [interfacekit] Re: Fwd: BAutolock
- » [interfacekit] Re: Fwd: BAutolock
- » [interfacekit] Re: Fwd: BAutolock
- » [interfacekit] Re: Fwd: BAutolock
- » [interfacekit] Re: Fwd: BAutolock
- » [interfacekit] Re: Fwd: BAutolock
- » [interfacekit] Re: Fwd: BAutolock
- [interfacekit] Re: Fwd: BAutolock
- From: burton666@xxxxxxxxx