DragonFly BSD
DragonFly commits List (threaded) for 2010-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: dev - Properly propogate wakeup events for ums


From: Samuel Greear <sjg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Jul 2010 14:57:02 -0700 (PDT)

commit 173360594997c33e4685c2a9f26732bdfc8cc805
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]