David Xu 8931e524bf In sem_post, the field _has_waiters is no longer used, because some
application destroys semaphore after sem_wait returns. Just enter
kernel to wake up sleeping threads, only update _has_waiters if
it is safe. While here, check if the value exceed SEM_VALUE_MAX and
return EOVERFLOW if this is true.
2012-04-05 03:05:02 +00:00
..
2012-03-26 19:23:57 +00:00
2012-03-28 19:20:28 +00:00
2012-03-06 03:30:09 +00:00
2012-03-29 20:23:35 +00:00
2012-03-29 16:20:20 +00:00
2011-07-10 06:57:00 +00:00
2012-01-03 07:14:01 +00:00