Lines Matching +full:key +full:- +full:up

49 .St -p1003.1-2001
57 All objects require ABI-mandated alignment, but this is not currently
61 .Bl -tag -width indent
63 Allow selection of the process-shared sleep queue for the thread sleep
66 The process-shared or process-private sleep queue is selected based on
70 Otherwise, if the flag is not specified, the process-private sleep queue
77 .Bl -hang -offset indent
79 .Bd -literal
95 .Bl -tag -width indent
104 The robust mutex is in a non-recoverable state.
110 field may contain the following umutex-specific flags, in addition to
112 .Bl -tag -width indent
126 Robust mutex is in a transient non-consistent state.
136 .Pq normal, priority-inherited, and priority-protected
138 with the given key.
146 .St -p1003.1-2008
161 should contain \-1.
164 .Bd -literal
172 A non-zero
174 value indicates that there are in-kernel waiters for the condition,
195 .Bl -bullet -compact
222 .Bd -literal
239 .Bl -tag -width indent
254 Or, at the given time, up to
264 .Bl -tag -width indent
268 is already read-locked, even in presence of unsatisfied write
286 lock after requesting thread was woken up.
288 .Bd -literal
298 A non-zero value indicates an unlocked (posted) semaphore, while zero
321 .Bl -tag -width indent
326 .Bd -literal
370 .Bl -tag -width indent
388 which is a non-runnable state terminated by the
402 A sleep queue is identified by a key, which for
408 times will give one key value.
410 .Em process-shared
413 A related attribute of the key is shareability.
424 Only the address of the start byte of the variable specified as key is
431 on a little-endian 64-bit platform would collide.
433 The last attribute of the key is the object type.
436 primitives, even when the physical address of the key is same.
438 When waking up a limited number of threads from a given sleep queue,
455 The lists are singly-linked.
463 .Bl -dash -offset indent -compact
515 .Bl -tag -width indent
519 .Bl -tag -width "obj"
533 until woken up or the optionally specified timeout expires.
545 variable is located, is used as a key to index sleeping threads.
568 .Bl -tag -width "obj"
570 Pointer to a variable, used as a key to find sleeping threads.
574 threads are woken up by this request.
577 to wake up all waiters.
582 .Bl -tag -width "obj"
595 .Bl -tag -width "obj"
613 Upon wake up, the lock conditions are re-tested.
634 .Bl -tag -width "obj"
648 umutex, one thread is woken up.
671 .Bl -tag -width "uaddr"
706 .Bl -tag -width "uaddr2"
730 argument, is set to an arbitrary non-zero value, after which the
753 .Bl -tag -width "CVWAIT_CLOCKID"
790 Wake up one condition waiter.
792 .Bl -tag -width "obj"
798 The request wakes up at most one thread sleeping on the sleep queue keyed
802 If the woken up thread was the last on the sleep queue, the
808 Wake up all condition waiters.
810 .Bl -tag -width "obj"
816 The request wakes up all threads sleeping on the sleep queue keyed by the
831 .Pq a 32-bit integer .
833 Read-lock a
837 .Bl -tag -width "obj"
841 to be read-locked.
847 .Bl -tag -width indent
879 the current thread does not attempt to obtain read-lock.
885 Upon wakeup, the locking conditions are re-evaluated.
895 Write-lock a
899 .Bl -tag -width "obj"
903 to be write-locked.
916 by the read-lock counter, the current thread does not attempt to
917 obtain the write-lock.
923 Upon wakeup, the locking conditions are re-evaluated.
935 .Bl -tag -width "obj"
955 structure, one writer is woken up, selected as described in the
960 flag is set, a pending writer is woken up only if there is
965 flag is set, then all pending readers are woken up by unlock.
969 but unconditionally select the process-private sleep queue.
973 but unconditionally select the process-private sleep queue.
977 .Bl -tag -width "obj"
1014 Wake up a batch of sleeping threads.
1016 .Bl -tag -width "obj"
1026 wakes up all threads waiting on the
1028 sleep queue with the key
1031 Check if a normal umutex is unlocked and wake up a waiter.
1033 .Bl -tag -width "obj"
1044 set, clear the bit and wake up one waiter in the sleep queue associated
1065 Check if a umutex is unlocked and wake up a waiter.
1067 .Bl -tag -width "obj"
1081 sleep queue where the waiters are found for wake up.
1083 If the mutex is unowned, one waiter is woken up.
1085 If the mutex memory cannot be accessed, all waiters are woken up.
1097 .Bl -tag -width "obj"
1121 indicating the semaphore is available (non-zero count due to post),
1128 A request with non-absolute timeout value is not restartable.
1146 Wake up waiters on semaphore lock.
1148 .Bl -tag -width "obj"
1154 The request wakes up one waiter for the semaphore lock.
1160 word, and the last sleeping thread was woken up, the bit is cleared.
1168 The objects are used to implement process-shared locks in
1173 argument specifies the sub-request of the
1176 .Bl -tag -width indent
1178 Creates the anonymous shared memory object, which can be looked up
1179 with the specified key
1193 the specified key
1197 De-associate the shared object with the specified key
1203 supplied key
1217 byte identity is used as a key for the anonymous shared object
1222 .Bl -tag -width "uaddr"
1233 .Bd -literal
1257 around the whole operation, since lists can be only changed race-free
1288 .Bl -tag -width indent
1294 .Bl -hang -offset indent
1297 arguments that point to a word, point to a 32-bit integer.
1302 argument is a pointer to an array of 32-bit pointers.
1308 is a 32-bit pointer.
1311 uses a 32-bit time_t.
1318 Request non-i386, 32-bit ABI compatibility from the native
1322 .Bl -hang -offset indent
1325 arguments that point to a word, point to a 32-bit integer.
1330 argument is a pointer to an array of 32-bit pointers.
1336 is a 32-bit pointer.
1339 uses a 64-bit time_t.
1348 Note that if any 32-bit ABI compatibility is being requested, then care must be
1350 A single thread may not mix 32-bit compatible robust lists with native
1362 sub-requests of the
1370 On error \-1 is returned, and the
1377 .Bl -tag -width "[ETIMEDOUT]"
1451 sub-request of
1460 sub-requests of the
1462 request, there is no shared memory object associated with the provided key.
1466 sub-request of the
1486 arguments, and timed out before obtaining the lock or being woken up.
1488 A signal was delivered during wait, for a non-restartable operation.
1489 Operations with timeouts are typically non-restartable, but timeouts
1513 system call is non-standard and is used by the
1516 .St -p1003.1-2001