summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2007-09-20 04:05:59 +0000
committersimokawa <simokawa@FreeBSD.org>2007-09-20 04:05:59 +0000
commitdb835aec4a43bbb01e5c00e3053e397b7f0fbef8 (patch)
treed4d285641f612617591a96f5e87f5577604016be /sbin
parent099a7307bb3cf6518c7423e64ae0da0c143c0542 (diff)
downloadFreeBSD-src-db835aec4a43bbb01e5c00e3053e397b7f0fbef8.zip
FreeBSD-src-db835aec4a43bbb01e5c00e3053e397b7f0fbef8.tar.gz
Serialize output routine of terminal emulator (te_puts()) by a lock.
- The output routine of low level console is not protected by any lock by default. - Increment and decrement of sc->write_in_progress are not atomic and this may cause console hang. - We also have many other states used by emulator that should be protected by the lock. - This change does not fix interspersed messages which PRINTF_BUFR_SIZE kernel option should fix. Approved by: re (bmah) MFC after: 1 week
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud