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

git: mqueues: Fix deadlock situation.


From: Stathis Kamperis <beket@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 16 Jan 2010 13:46:04 -0800 (PST)

commit acb0b16f410448bb8cd82b198531c85a11e92b14
Author: Stathis Kamperis <beket@dragonflybsd.org>
Date:   Sat Jan 16 23:18:37 2010 +0200

    mqueues: Fix deadlock situation.
    
    tsleep() doesn't release the per-mqueue exclusive lockmgr lock before sleeping.
    We need lksleep() instead.
    
    Reported-by: swildner@

Summary of changes:
 sys/kern/sys_mqueue.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/acb0b16f410448bb8cd82b198531c85a11e92b14


-- 
DragonFly BSD source repository



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