Skip to content

Commit

Permalink
Documentation: Add nested versions of mutex locks to docs
Browse files Browse the repository at this point in the history
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
  • Loading branch information
Robert P. J. Day authored and Adrian Bunk committed Oct 19, 2007
1 parent cfd348f commit 343b901
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Documentation/mutex-design.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 343b901

Please sign in to comment.