Unix and Linux Discussions Tagged with lock |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
3,343 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,596 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,891 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
1,973 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,001 |
SCO |
|
|
|
1 |
4,763 |
Shell Programming and Scripting |
|
|
|
1 |
11,870 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,292 |
Programming |
|
|
|
1 |
3,357 |
HP-UX |
|
|
|
7 |
24,689 |
Programming |
|
|
|
1 |
3,797 |
OS X (Apple) |
|
|
|
2 |
4,483 |
HP-UX |
|
|
|
3 |
4,359 |
OS X (Apple) |
|
|
|
0 |
1,476 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,787 |
SCO |
|
|
|
0 |
949 |
Software Releases - RSS News |
|
|
|
14 |
10,774 |
Programming |
|
|
|
2 |
16,262 |
Shell Programming and Scripting |
|
|
|
2 |
2,772 |
Shell Programming and Scripting |
|
|
|
3 |
15,558 |
Shell Programming and Scripting |
|
|
|
0 |
4,399 |
Programming |
|
|
|
2 |
3,184 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,670 |
Complex Event Processing RSS News |
|
|
|
0 |
1,737 |
Software Releases - RSS News |
|
|
|
5 |
7,948 |
Linux |
|
|
|
5 |
8,566 |
HP-UX |
|
|
|
2 |
8,535 |
Programming |
|
|
|
1 |
11,255 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
7,285 |
Shell Programming and Scripting |
|
|
|
4 |
4,844 |
Shell Programming and Scripting |
|
|
|
2 |
6,088 |
Shell Programming and Scripting |
|
|
|
1 |
8,464 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,639 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,549 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,164 |
HP-UX |
|
|
|
5 |
7,199 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,790 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,585 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
4 |
3,805 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
24,666 |
UNIX for Dummies Questions & Answers |
lock_done(9r) lock_done(9r)
NAME
lock_done - General: Releases a complex lock
SYNOPSIS
#include <kern/lock.h>
void lock_done(
lock_t lock_structptr );
ARGUMENTS
Specifies a pointer to the complex lock structure, lock. The lock structure is an opaque data structure; that is, its associated members
are referenced and manipulated by the operating system and not by the user of the complex lock mechanism.
DESCRIPTION
The lock_done routine releases a lock that was previously asserted by one of the following complex lock routines: lock_read, lock_try_read,
lock_try_write, and lock_write.
NOTES
You must hold the lock on the resource before calling lock_done.
RETURN VALUES
None
FILES
SEE ALSO
Routines: lock_init(9r), lock_read(9r), lock_terminate(9r), lock_try_read(9r), lock_try_write(9r), lock_write(9r)
Data Structures: lock(9s)
lock_done(9r)