Lines Matching +full:wakeup +full:- +full:counter

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
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
234 It contains both the flags and counter of the read locks which were
239 .Bl -tag -width indent
264 .Bl -tag -width indent
268 is already read-locked, even in presence of unsatisfied write
288 .Bd -literal
298 A non-zero value indicates an unlocked (posted) semaphore, while zero
305 word, besides the counter of posts (unlocks), also contains the
313 word, returns the current semaphore counter, which is the number of posts
321 .Bl -tag -width indent
326 .Bd -literal
370 .Bl -tag -width indent
388 which is a non-runnable state terminated by the
410 .Em process-shared
431 on a little-endian 64-bit platform would collide.
455 The lists are singly-linked.
463 .Bl -dash -offset indent -compact
515 .Bl -tag -width indent
519 .Bl -tag -width "obj"
540 the request is guaranteed to not miss the wakeup,
568 .Bl -tag -width "obj"
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"
671 .Bl -tag -width "uaddr"
706 .Bl -tag -width "uaddr2"
730 argument, is set to an arbitrary non-zero value, after which the
738 It is guaranteed to not miss a wakeup from
744 Upon wakeup, if the timeout expired and no other threads are sleeping in
748 After wakeup, the
753 .Bl -tag -width "CVWAIT_CLOCKID"
792 .Bl -tag -width "obj"
810 .Bl -tag -width "obj"
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"
969 but unconditionally select the process-private sleep queue.
973 but unconditionally select the process-private sleep queue.
977 .Bl -tag -width "obj"
1016 .Bl -tag -width "obj"
1033 .Bl -tag -width "obj"
1067 .Bl -tag -width "obj"
1097 .Bl -tag -width "obj"
1112 Put the requesting thread onto a sleep queue if the semaphore counter
1121 indicating the semaphore is available (non-zero count due to post),
1122 or due to a wakeup.
1128 A request with non-absolute timeout value is not restartable.
1148 .Bl -tag -width "obj"
1168 The objects are used to implement process-shared locks in
1173 argument specifies the sub-request of the
1176 .Bl -tag -width indent
1197 De-associate the shared object with the specified key
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
1466 sub-request of the
1488 A signal was delivered during wait, for a non-restartable operation.
1489 Operations with timeouts are typically non-restartable, but timeouts
1495 is handled by usual adjustment of the instruction counter.
1513 system call is non-standard and is used by the
1516 .St -p1003.1-2001