summaryrefslogtreecommitdiffstats
path: root/contrib/bind9/lib/dns/rdata
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2012-04-05 03:05:02 +0000
committerdavidxu <davidxu@FreeBSD.org>2012-04-05 03:05:02 +0000
commitcc55f4943b841b3772901d62a327ad4f9edb2c95 (patch)
treec3b9f33711c130d7a58e15afe974452d99fe010a /contrib/bind9/lib/dns/rdata
parent8c31e244f2179705d23a9bc680f47ba978ff9bcb (diff)
downloadFreeBSD-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/lib/dns/rdata')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud