2000-03-05 17:39:33 +00:00
|
|
|
<html><head>
|
|
|
|
<title>NSDistributedLock</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<a href="NSDistantObjectRequest.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="NSDistributedNotificationCenter.html">[Next]</a>
|
|
|
|
<h1>NSDistributedLock</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">NSDistributedLock</a></h2>
|
|
|
|
<h2><a name="NSDistributedLock">NSDistributedLock</a></h2>
|
|
|
|
<p><b>Declared in:</b> Foundation/NSDistributedLock.h</p>
|
|
|
|
<p><b>Inherits from:</b> NSObject</p>
|
|
|
|
<p><b>Conforms to:</b> NSObject
|
|
|
|
</p>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><a href="NSDistributedLock.html#method-0">+lockWithPath:</a>
|
|
|
|
<li><a href="NSDistributedLock.html#method-1">-breakLock</a>
|
|
|
|
<li><a href="NSDistributedLock.html#method-2">-initWithPath:</a>
|
|
|
|
<li><a href="NSDistributedLock.html#method-3">-lockDate</a>
|
|
|
|
<li><a href="NSDistributedLock.html#method-4">-tryLock</a>
|
|
|
|
<li><a href="NSDistributedLock.html#method-5">-unlock</a>
|
|
|
|
</ul>
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-0">lockWithPath:</a></h2>
|
|
|
|
+ (NSDistributedLock*) <b>lockWithPath:</b> (NSString*)aPath<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-1">breakLock</a></h2>
|
|
|
|
- (void) <b>breakLock</b><br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-2">initWithPath:</a></h2>
|
|
|
|
- (NSDistributedLock*) <b>initWithPath:</b> (NSString*)aPath<br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-3">lockDate</a></h2>
|
|
|
|
- (NSDate*) <b>lockDate</b><br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-4">tryLock</a></h2>
|
|
|
|
- (BOOL) <b>tryLock</b><br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<h2><a name="method-5">unlock</a></h2>
|
|
|
|
- (void) <b>unlock</b><br>
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|