Unix and Linux Discussions Tagged with lock |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
4,499 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,105 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
6,764 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
2,296 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,449 |
SCO |
|
|
|
1 |
5,312 |
Shell Programming and Scripting |
|
|
|
1 |
12,239 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,494 |
Programming |
|
|
|
1 |
3,451 |
HP-UX |
|
|
|
7 |
25,220 |
Programming |
|
|
|
1 |
4,008 |
OS X (Apple) |
|
|
|
2 |
4,623 |
HP-UX |
|
|
|
3 |
4,774 |
OS X (Apple) |
|
|
|
0 |
1,540 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,963 |
SCO |
|
|
|
0 |
1,204 |
Software Releases - RSS News |
|
|
|
14 |
11,076 |
Programming |
|
|
|
2 |
16,500 |
Shell Programming and Scripting |
|
|
|
2 |
2,938 |
Shell Programming and Scripting |
|
|
|
3 |
15,854 |
Shell Programming and Scripting |
|
|
|
0 |
4,742 |
Programming |
|
|
|
2 |
3,444 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,717 |
Complex Event Processing RSS News |
|
|
|
0 |
1,846 |
Software Releases - RSS News |
|
|
|
5 |
8,119 |
Linux |
|
|
|
5 |
8,671 |
HP-UX |
|
|
|
2 |
8,838 |
Programming |
|
|
|
1 |
11,988 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
7,544 |
Shell Programming and Scripting |
|
|
|
4 |
5,086 |
Shell Programming and Scripting |
|
|
|
2 |
6,316 |
Shell Programming and Scripting |
|
|
|
1 |
8,995 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,996 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,761 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,720 |
HP-UX |
|
|
|
5 |
7,427 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,653 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,890 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
4 |
4,338 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
25,410 |
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)