Browse Source

Documentation: Add nested versions of mutex locks to docs

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Robert P. J. Day 17 years ago
parent
commit
343b901980
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Documentation/mutex-design.txt

+ 3 - 1
Documentation/mutex-design.txt

@@ -133,4 +133,6 @@ the APIs of 'struct mutex' have been streamlined:
  int  mutex_trylock(struct mutex *lock);
  void mutex_unlock(struct mutex *lock);
  int  mutex_is_locked(struct mutex *lock);
-
+ void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
+ int  mutex_lock_interruptible_nested(struct mutex *lock,
+                                      unsigned int subclass);