Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 5 Apr 2015 17:17:35 +0300 (MSK)
From: Alexander Monakov <>
Subject: Re: Resuming work on new semaphore

In a similar vein, if the caller explicitely kills other waiters before
invoking sem_post and sem_getvalue, it will also reveal an inconsistency with
the new implementation: returned value of 0 will look as if sem_post has woken
some waiters, even though the caller could know for certain that no tasks were
waiting on the semaphore.

Well we can make sem_getvalue return val[0]+val[1] instead... ;)


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.