NWReleaseFileLockSet(3nw)


NWReleaseFileLockSet -- unlocks files in log table but does not remove them from table

Synopsis

   #include <nwfile.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWReleaseFileLockSet (void);

Return Values

0x0000
SUCCESSFUL

Remarks

To avoid deadlock, a workstation must request those files it needs to lock; it does so by making an entry into the File Log Table at the NetWare server. Once the log table is complete, the application can then lock those files. The locking works only if all files in the table are available.

NWReleaseFileLockSet is ignored if the requesting workstation does not have locked files.

Services

Synchronization

NCP Calls

0x2222 23 17 Get File Server Information
0x2222 23 22 Get Station's Logged Info (old)
0x2222 23 28 Get Station's Logged Info
0x2222 104 1 Ping for NDS NCP

 
 ------------------------------------------ 
| 0x2222|  23 |  17|  Get File Server     | 
|       |     |    |  Information         | 
|-------|-----|----|----------------------| 
| 0x2222|  23 |  22|  Get Station's Logged| 
|       |     |    |  Info (old)          | 
|-------|-----|----|----------------------| 
| 0x2222|  23 |  28|  Get Station's Logged| 
|       |     |    |  Info                | 
|-------|-----|----|----------------------| 
| 0x2222|  104|  1 |  Ping for NDS NCP    | 
|-------|-----|----|----------------------| 

References

NWClearFileLock2(3nw), NWClearFileLockSet(3nw), NWLogFileLock2(3nw), NWReleaseFileLock2(3nw)


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.