[haiku] Re: Any plans for pthread support?

  • From: André Braga <meianoite@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Wed, 23 Sep 2009 11:34:06 -0300

2009/9/23 Colin Günther <coling@xxxxxx>:
>>> This is a bug:
>>        } while (B_INTERRUPTED && (system_time() < absoluteTimeout));
>
> Mmh, I can't see the bug. Would you mind to clarify?


You're not testing B_INTERRUPTED against anything, and since that flag
is positive, you're effectively only testing the condition against the
timeout.


Cheers,
A.

Other related posts: