SPDX-License-Identifier: Apache-2.0
-
14.1. Futex UID: ZEP-SYRS-36 STATUS: Draft TYPE: Functional COMPONENT: Futex RELATIONS (Child): STATEMENT: The Zephyr RTOS shall provide a synchronization primitive that user mode threads can operate on without a system call in the uncontended case.
USER_STORY: As a Zephyr RTOS user, I want a fast user-space synchronization primitive that does not require a system call in the uncontended case.
The Zephyr RTOS shall provide a mechanism for a thread to pend on a futex.
-
14.1. Futex UID: ZEP-SYRS-36 STATUS: Draft TYPE: Functional COMPONENT: Futex RELATIONS (Child): STATEMENT: The Zephyr RTOS shall provide a synchronization primitive that user mode threads can operate on without a system call in the uncontended case.
USER_STORY: As a Zephyr RTOS user, I want a fast user-space synchronization primitive that does not require a system call in the uncontended case.
When a thread attempts to pend on a futex and the futex value differs from the expected value, the Zephyr RTOS shall return immediately with an error indicating the futex value changed.
-
14.1. Futex UID: ZEP-SYRS-36 STATUS: Draft TYPE: Functional COMPONENT: Futex RELATIONS (Child): STATEMENT: The Zephyr RTOS shall provide a synchronization primitive that user mode threads can operate on without a system call in the uncontended case.
USER_STORY: As a Zephyr RTOS user, I want a fast user-space synchronization primitive that does not require a system call in the uncontended case.
The Zephyr RTOS shall provide a mechanism to wake either the highest-priority thread or all threads pending on a futex.
-
14.1. Futex UID: ZEP-SYRS-36 STATUS: Draft TYPE: Functional COMPONENT: Futex RELATIONS (Child): STATEMENT: The Zephyr RTOS shall provide a synchronization primitive that user mode threads can operate on without a system call in the uncontended case.
USER_STORY: As a Zephyr RTOS user, I want a fast user-space synchronization primitive that does not require a system call in the uncontended case.
The Zephyr RTOS shall allow user mode threads to operate on a futex located in memory they can access.
-
14.1. Futex UID: ZEP-SYRS-36 STATUS: Draft TYPE: Functional COMPONENT: Futex RELATIONS (Child): STATEMENT: The Zephyr RTOS shall provide a synchronization primitive that user mode threads can operate on without a system call in the uncontended case.
USER_STORY: As a Zephyr RTOS user, I want a fast user-space synchronization primitive that does not require a system call in the uncontended case.
When a thread attempts to pend on a futex and the futex value matches the expected value, the Zephyr RTOS shall block the thread until the futex is woken or the specified timeout elapses.
-
14.1. Futex UID: ZEP-SYRS-36 STATUS: Draft TYPE: Functional COMPONENT: Futex RELATIONS (Child): STATEMENT: The Zephyr RTOS shall provide a synchronization primitive that user mode threads can operate on without a system call in the uncontended case.
USER_STORY: As a Zephyr RTOS user, I want a fast user-space synchronization primitive that does not require a system call in the uncontended case.
If a futex operation refers to memory the calling thread cannot access, then the Zephyr RTOS shall reject the operation with an error indicating the access is denied.