diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-04-10 09:24:57 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-04-10 09:24:57 +0000 |
commit | beaabf6cd8d215b34e13b596af794e10b6b7dd1d (patch) | |
tree | 585fab1c949b82976b2c17dca696aa62fc936b00 /usr.bin/tmux/cmd-load-buffer.c | |
parent | f70f94eabd63dfc3141ba36d9aa0e6e343c2d51a (diff) |
Do not call logwakeup(), ending in wakeup_n(), while holding a mutex.
Prevents a lock ordering issue between SCHED_LOCK() and printf(9)'s
mutex. While here protect all kprintf() calls ending on the console
with the mutex.
ok kettenis@, visa@
Diffstat (limited to 'usr.bin/tmux/cmd-load-buffer.c')
0 files changed, 0 insertions, 0 deletions