mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-15 17:26:42 +08:00
parent
bf900c7153
commit
c5161ee2f3
@ -347,6 +347,8 @@ pthread_cond_timedwait - Wait with Timeout a Condition Variable
|
|||||||
.. list-table::
|
.. list-table::
|
||||||
:class: rtems-table
|
:class: rtems-table
|
||||||
|
|
||||||
|
* - ``EINVAL``
|
||||||
|
- The nanoseconds field of timeout is invalid.
|
||||||
* - ``EINVAL``
|
* - ``EINVAL``
|
||||||
- The specified condition variable or mutex is not initialized OR different
|
- The specified condition variable or mutex is not initialized OR different
|
||||||
mutexes were specified for concurrent ``pthread_cond_wait()`` and
|
mutexes were specified for concurrent ``pthread_cond_wait()`` and
|
||||||
|
@ -434,11 +434,13 @@ sem_timedwait - Wait on a Semaphore for a Specified Time
|
|||||||
.. list-table::
|
.. list-table::
|
||||||
:class: rtems-table
|
:class: rtems-table
|
||||||
|
|
||||||
* - ``EAGAIN``
|
|
||||||
- The semaphore is not available (i.e., the semaphore value is zero), so the
|
|
||||||
semaphore could not be locked.
|
|
||||||
* - ``EINVAL``
|
* - ``EINVAL``
|
||||||
- The ``sem`` argument does not refewr to a valid semaphore
|
- The ``sem`` argument does not refewr to a valid semaphore
|
||||||
|
* - ``EINVAL``
|
||||||
|
- The nanoseconds field of timeout is invalid.
|
||||||
|
* - ``ETIMEDOUT``
|
||||||
|
- The calling thread was unable to get the semaphore within the specified
|
||||||
|
timeout period.
|
||||||
|
|
||||||
**DESCRIPTION:**
|
**DESCRIPTION:**
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user