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

git: kernel - Allow multiple opens on /dev/udev


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 24 Oct 2012 18:33:52 -0700 (PDT)

commit 9b881e96ac5932621a87070dfdb0740557bd1fce
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Oct 24 18:31:53 2012 -0700

    kernel - Allow multiple opens on /dev/udev
    
    * Implement as an auto-clone device
    
    * Refactor most of the code to use a new queueing mechanic.  There is a single
      queue and multiple markers pointing into the queue (one for each initiated
      open'd device).
    
    * Events broadcast to all initiated readers.  We use a single-queue /
      multiple-marker model.  The event structure is only deleted once all markers
      have iterated past it.

Summary of changes:
 sys/kern/kern_udev.c |  307 +++++++++++++++++++++++++++++++------------------
 1 files changed, 194 insertions(+), 113 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9b881e96ac5932621a87070dfdb0740557bd1fce


-- 
DragonFly BSD source repository



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