2000-03-05 17:39:33 +00:00
|
|
|
<html><head>
|
|
|
|
<title>NSConditionLock</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<a href="NSCoder.html">[Previous]</a>
|
2000-04-10 05:32:04 +00:00
|
|
|
<a href="Base.html">[Up]</a>
|
2000-03-05 17:39:33 +00:00
|
|
|
<a href="NSConnection.html">[Next]</a>
|
|
|
|
<h1>NSConditionLock</h1>
|
|
|
|
<h3>Authors</h3>
|
|
|
|
<dl>
|
|
|
|
<dt><a href="http://www.gnustep.org/developers/whoiswho.html">Richard Frith-Macdonald</a>
|
|
|
|
<dd>
|
|
|
|
</dl>
|
|
|
|
<p>Version: 0.1</p>
|
|
|
|
<p>Date: 28 February, 2000</p>
|
|
|
|
<h2><a name="cont-0">NSConditionLock</a></h2>
|
|
|
|
<h2><a name="NSConditionLock">NSConditionLock</a></h2>
|
|
|
|
<p><b>Declared in:</b> Foundation/NSLock.h</p>
|
|
|
|
<p><b>Inherits from:</b> NSObject</p>
|
|
|
|
<p><b>Conforms to:</b> NSLocking
|
|
|
|
</p>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><a href="NSConditionLock.html#method-0">-condition</a>
|
|
|
|
<li><a href="NSConditionLock.html#method-1">-initWithCondition:</a>
|
|
|
|
<li><a href="NSConditionLock.html#method-2">-lockBeforeDate:</a>
|
|
|
|
<li><a href="NSConditionLock.html#method-3">-lockWhenCondition:</a>
|
|
|
|
<li><a href="NSConditionLock.html#method-4">-lockWhenCondition:beforeDate:</a>
|
|
|
|
<li><a href="NSConditionLock.html#method-5">-tryLock</a>
|
|
|
|
<li><a href="NSConditionLock.html#method-6">-tryLockWhenCondition:</a>
|
|
|
|
<li><a href="NSConditionLock.html#method-7">-unlockWithCondition:</a>
|
|
|
|
</ul>
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-0">condition</a></h2>
|
|
|
|
- (int) <b>condition</b><br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-1">initWithCondition:</a></h2>
|
|
|
|
- (id) <b>initWithCondition:</b> (int)condition<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-2">lockBeforeDate:</a></h2>
|
|
|
|
- (BOOL) <b>lockBeforeDate:</b> (NSDate*)limit<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-3">lockWhenCondition:</a></h2>
|
|
|
|
- (void) <b>lockWhenCondition:</b> (int)condition<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-4">lockWhenCondition:beforeDate:</a></h2>
|
|
|
|
- (BOOL) <b>lockWhenCondition:</b> (int)condition <b>beforeDate:</b> (NSDate*)limit<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-5">tryLock</a></h2>
|
|
|
|
- (BOOL) <b>tryLock</b><br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-6">tryLockWhenCondition:</a></h2>
|
|
|
|
- (BOOL) <b>tryLockWhenCondition:</b> (int)condition<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-7">unlockWithCondition:</a></h2>
|
|
|
|
- (void) <b>unlockWithCondition:</b> (int)condition<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|