diff options
author | davidxu <davidxu@FreeBSD.org> | 2012-04-05 03:05:02 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2012-04-05 03:05:02 +0000 |
commit | cc55f4943b841b3772901d62a327ad4f9edb2c95 (patch) | |
tree | c3b9f33711c130d7a58e15afe974452d99fe010a /contrib/bind9/doc/misc | |
parent | 8c31e244f2179705d23a9bc680f47ba978ff9bcb (diff) | |
download | FreeBSD-src-cc55f4943b841b3772901d62a327ad4f9edb2c95.zip FreeBSD-src-cc55f4943b841b3772901d62a327ad4f9edb2c95.tar.gz |
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.
Diffstat (limited to 'contrib/bind9/doc/misc')
0 files changed, 0 insertions, 0 deletions