simokawa    2007-09-20 04:05:59 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/syscons      syscons.c syscons.h 
  Log:
  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
  
  Revision  Changes    Path
  1.453     +13 -1     src/sys/dev/syscons/syscons.c
  1.88      +1 -0      src/sys/dev/syscons/syscons.h
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to