[haiku] Re: Any plans for pthread support?

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Wed, 23 Sep 2009 09:31:51 -0500

On Wed, Sep 23, 2009 at 9:28 AM, Colin Günther <coling@xxxxxx> wrote:
>>     status = acquire_sem_etc(cvp->sema, 1, B_ABSOLUTE_TIMEOUT,
>> absoluteTimeout);
>>
>> This is a bug:
>>        } while (B_INTERRUPTED && (system_time() < absoluteTimeout));
>>
>
> Mmh, I can't see the bug. Would you mind to clarify?

Presumably that should be while (status == B_INTERRUPTED &&
system_time() < absoluteTimeout)

Regards,

Rene

Other related posts: