]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
If thread set a TDP_WAKEUP for itself, clears the flag and returns EINTR
authordavidxu <davidxu@FreeBSD.org>
Fri, 20 Aug 2010 04:28:30 +0000 (04:28 +0000)
committerdavidxu <davidxu@FreeBSD.org>
Fri, 20 Aug 2010 04:28:30 +0000 (04:28 +0000)
commit89f466d2b24eb304fba1cca7584fbd61aa0a8c94
tree6e87e70a75d2de5dd44cf0f94627cf1dcafa58e7
parent07b66dcf06596326ea9d81d40d460bdef6f50b34
If thread set a TDP_WAKEUP for itself, clears the flag and returns EINTR
immediately, this is used for implementing reliable pthread cancellation.
sys/kern/subr_sleepqueue.c