git: dev - Properly propogate wakeup events for ums

Samuel Greear sjg at crater.dragonflybsd.org
Mon Jul 19 14:58:37 PDT 2010


commit 173360594997c33e4685c2a9f26732bdfc8cc805
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Jul 8 16:04:25 2010 -0700

    dev - Properly propogate wakeup events for ums
    
    * The last commit had a minor problem.  It turns out that the
      selwakeup() code does not generate a kqueue event or wake it up
      if no select pid was set, and since select() now uses kqueue no
      select pid will ever be set.
    
    * Calling KNOTE() directly solves the problem.

Summary of changes:
 sys/dev/usbmisc/ums/ums.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/173360594997c33e4685c2a9f26732bdfc8cc805


-- 
DragonFly BSD source repository





More information about the Commits mailing list