|
Message-ID: <alpine.LNX.2.00.1408271435160.6544@monopod.intra.ispras.ru> Date: Wed, 27 Aug 2014 14:43:33 +0400 (MSK) From: Alexander Monakov <amonakov@...ras.ru> To: musl@...ts.openwall.com Subject: Re: sem_getvalue conformance considerations Why wouldn't the following design work? val[0] is sem value if >= 0, negated waiters count otherwise val[1] is wakeup count, incremented before futex wake, tested and decremented by waiters returning from futex wait Alexander
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.