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

git: kernel -- token: Two shared token DEBUG_LOCKS tests.


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 16 Nov 2011 18:14:03 -0800 (PST)

commit 784abcf016439b3921045915ae603359a2166860
Author: Venkatesh Srinivas <me@endeavour.zapto.org>
Date:   Wed Nov 16 18:07:47 2011 -0800

    kernel -- token: Two shared token DEBUG_LOCKS tests.
    
    * New warning when a pool token is taken in shared mode.
    
    * KASSERT when trying to take an exclusive token with that token
      already held shared.
    
    Both tests are only active under DEBUG_LOCKS.

Summary of changes:
 sys/kern/lwkt_token.c |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/784abcf016439b3921045915ae603359a2166860


-- 
DragonFly BSD source repository



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