Unix and Linux Discussions Tagged with lock |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
3,188 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,517 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,724 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
1,935 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,941 |
SCO |
|
|
|
1 |
4,642 |
Shell Programming and Scripting |
|
|
|
1 |
11,771 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,274 |
Programming |
|
|
|
1 |
3,335 |
HP-UX |
|
|
|
7 |
24,620 |
Programming |
|
|
|
1 |
3,769 |
OS X (Apple) |
|
|
|
2 |
4,451 |
HP-UX |
|
|
|
3 |
4,309 |
OS X (Apple) |
|
|
|
0 |
1,464 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,760 |
SCO |
|
|
|
0 |
924 |
Software Releases - RSS News |
|
|
|
14 |
10,733 |
Programming |
|
|
|
2 |
16,235 |
Shell Programming and Scripting |
|
|
|
2 |
2,745 |
Shell Programming and Scripting |
|
|
|
3 |
15,508 |
Shell Programming and Scripting |
|
|
|
0 |
4,312 |
Programming |
|
|
|
2 |
3,136 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,663 |
Complex Event Processing RSS News |
|
|
|
0 |
1,714 |
Software Releases - RSS News |
|
|
|
5 |
7,933 |
Linux |
|
|
|
5 |
8,535 |
HP-UX |
|
|
|
2 |
8,479 |
Programming |
|
|
|
1 |
11,003 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
7,247 |
Shell Programming and Scripting |
|
|
|
4 |
4,816 |
Shell Programming and Scripting |
|
|
|
2 |
6,039 |
Shell Programming and Scripting |
|
|
|
1 |
8,371 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,593 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,518 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,977 |
HP-UX |
|
|
|
5 |
7,166 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,632 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,516 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
4 |
3,730 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
24,548 |
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)