Hidetoshi Shimokawa a69d19dc33 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
2007-09-20 04:05:59 +00:00
..
2007-08-23 20:12:40 +00:00
2007-06-17 04:40:33 +00:00
2007-08-04 17:43:11 +00:00
2007-09-10 19:16:39 +00:00
2007-02-23 19:27:49 +00:00
2007-09-10 21:50:40 +00:00
2006-11-29 08:05:55 +00:00
2007-03-21 03:42:51 +00:00
2007-02-23 19:34:52 +00:00
2007-08-28 00:09:12 +00:00
2007-03-11 15:20:04 +00:00
2007-06-12 02:21:02 +00:00
2007-07-06 00:47:44 +00:00
2007-07-05 06:51:49 +00:00
2007-03-21 03:42:51 +00:00
2007-06-08 01:54:22 +00:00
2007-06-12 04:33:21 +00:00
2007-05-17 04:07:19 +00:00
2007-03-21 03:42:51 +00:00
2007-04-23 12:19:02 +00:00