Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 2008 08:07:02 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/adb adb_mouse.c
Message-ID:  <200811010807.mA1879jX002536@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2008-11-01 08:07:02 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/adb          adb_mouse.c 
  Log:
  SVN rev 184520 on 2008-11-01 08:07:02Z by ed
  
  Allow a read() on /dev/ams[0-9] to be interrupted.
  
  Right now ams_read() uses cv_wait() to wait for new data to arrive on
  the mouse device. This means that when you run `cat /dev/ams0', it
  cannot be interrupted directly. After you press ^C, you first need to
  move the mouse before cat will quit. Make this function use
  cv_wait_sig(), which allows it to be interrupted directly.
  
  Reviewed by:    nwhitehorn
  
  Revision  Changes    Path
  1.2       +6 -1      src/sys/dev/adb/adb_mouse.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811010807.mA1879jX002536>