HomeFreeBSD

Move checking for c_has_waiters into low level _thr_ucond_signal and
rS165110Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Move checking for c_has_waiters into low level _thr_ucond_signal and
_thr_ucond_broadcast, clear condition variable pointer in cancellation
info after returing from _thr_ucond_wait, since kernel has already
dropped the internal lock, so we don't need to unlock it in cancellation
handler again.

Details

Provenance
davidxuAuthored on
Parents
rS165109: In FreeBSD, we don't need sc_power callback
Branches
Unknown
Tags
Unknown

Event Timeline