[haiku-commits] Re: haiku: hrev51184 - headers/posix

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 29 May 2017 10:44:24 -0400

On Mon, May 29, 2017 at 10:42 AM, PulkoMandy <pulkomandy@xxxxxxxxx> wrote:

How do you detect the "first" call if there are multiple threads? They
could try to get the lock at almost the same time, and then both would
create a semaphore. Oops.

I guess there is a good reason we didn't have this initializer.


So is there no way of reconciling our implementation with the spec
here? Are we just doomed to never implement this?

-waddlesplash

Other related posts: