summaryrefslogtreecommitdiff
path: root/usr.bin/Makefile.inc
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2019-06-20 04:31:34 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2019-06-20 04:31:34 +0000
commitdc716904cbd674ddbd899facdac43bd9775258b0 (patch)
tree81797fbab108267147d505d4608b3f43a8f43742 /usr.bin/Makefile.inc
parente9581a2b634f4aa898036bf5122446943ff59d4f (diff)
Work around locking issues in logwakeup(). Instead of actually waking up
waiters, just set a flag in logwakeup(). The flag is later noted through periodic polling. This lets the wakeup code run with sufficient locking. logwakeup() is a very tricky place to take locks because the function can be called in many different contexts. By not requiring locks in the routine helps to keep printf(9) as usable as possible. OK mpi@
Diffstat (limited to 'usr.bin/Makefile.inc')
0 files changed, 0 insertions, 0 deletions