Unix and Linux Discussions Tagged with lock |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
2,647 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,293 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,321 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
1,866 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,856 |
SCO |
|
|
|
1 |
4,458 |
Shell Programming and Scripting |
|
|
|
1 |
11,650 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,258 |
Programming |
|
|
|
1 |
3,317 |
HP-UX |
|
|
|
7 |
24,533 |
Programming |
|
|
|
1 |
3,738 |
OS X (Apple) |
|
|
|
2 |
4,419 |
HP-UX |
|
|
|
3 |
4,236 |
OS X (Apple) |
|
|
|
0 |
1,453 |
Solaris BigAdmin RSS |
|
|
|
0 |
2,741 |
SCO |
|
|
|
0 |
895 |
Software Releases - RSS News |
|
|
|
14 |
10,661 |
Programming |
|
|
|
2 |
16,176 |
Shell Programming and Scripting |
|
|
|
2 |
2,704 |
Shell Programming and Scripting |
|
|
|
3 |
15,430 |
Shell Programming and Scripting |
|
|
|
0 |
4,241 |
Programming |
|
|
|
2 |
3,102 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,656 |
Complex Event Processing RSS News |
|
|
|
0 |
1,668 |
Software Releases - RSS News |
|
|
|
5 |
7,908 |
Linux |
|
|
|
5 |
8,512 |
HP-UX |
|
|
|
2 |
8,372 |
Programming |
|
|
|
1 |
10,627 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
7,175 |
Shell Programming and Scripting |
|
|
|
4 |
4,769 |
Shell Programming and Scripting |
|
|
|
2 |
5,985 |
Shell Programming and Scripting |
|
|
|
1 |
8,274 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,530 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,469 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,750 |
HP-UX |
|
|
|
5 |
7,130 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,441 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,420 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
4 |
3,636 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
24,366 |
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)