mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
added GSdoc comments to class, method, and function declarations; for some classes some comments were already in the source file (not the header), in which case further comments were added here; otherwise comments were put in the headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19588 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
febc42573a
commit
dbdfcfab37
56 changed files with 1744 additions and 516 deletions
|
@ -132,14 +132,13 @@ NSString *NSRecursiveLockException = @"NSRecursiveLockException";
|
|||
// Simplest lock for protecting critical sections of code
|
||||
|
||||
/**
|
||||
* An NSLock is used in multi-threaded applications to protect critical
|
||||
* pieces of code. While one thread holds a lock within a piece of code,
|
||||
* another thread cannot execute that code until the first thread has
|
||||
* given up it's hold on the lock. The limitation of NSLock is that
|
||||
* you can only lock an
|
||||
* NSLock once and it must be unlocked before it can be aquired again.<br />
|
||||
* Other lock classes, notably NSRecursiveLock, have
|
||||
* different restrictions.
|
||||
* An <code>NSLock</code> is used in multi-threaded applications to protect
|
||||
* critical pieces of code. While one thread holds a lock within a piece of
|
||||
* code, another thread cannot execute that code until the first thread has
|
||||
* given up its hold on the lock. The limitation of <code>NSLock</code> is
|
||||
* that you can only lock an <code>NSLock</code> once and it must be unlocked
|
||||
* before it can be aquired again.<br /> Other lock classes, notably
|
||||
* [NSRecursiveLock], have different restrictions.
|
||||
*/
|
||||
@implementation NSLock
|
||||
|
||||
|
@ -567,8 +566,8 @@ NSString *NSRecursiveLockException = @"NSRecursiveLockException";
|
|||
|
||||
|
||||
/**
|
||||
* See NSLock for more information about what a lock is. A recursive
|
||||
* lock extends NSLock in that you can lock a recursive lock multiple
|
||||
* See [NSLock] for more information about what a lock is. A recursive
|
||||
* lock extends [NSLock] in that you can lock a recursive lock multiple
|
||||
* times. Each lock must be balanced by a cooresponding unlock, and the
|
||||
* lock is not released for another thread to aquire until the last
|
||||
* unlock call is made (corresponding to the first lock message).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue