diff options
author | David Xu <davidxu@FreeBSD.org> | 2012-04-05 03:05:02 +0000 |
---|---|---|
committer | David Xu <davidxu@FreeBSD.org> | 2012-04-05 03:05:02 +0000 |
commit | 8931e524bfb5c6a10894f704e3eaa05ee5d9fa77 (patch) | |
tree | c3b9f33711c130d7a58e15afe974452d99fe010a /contrib/bind9/config.h.in | |
parent | 17ce60632137c4e6bff703cbedd9d9331a8273c1 (diff) |
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.
Notes
Notes:
svn path=/head/; revision=233913
Diffstat (limited to 'contrib/bind9/config.h.in')
0 files changed, 0 insertions, 0 deletions