Skip to content

Fix timer / condvar requirements#145

Open
nashif wants to merge 2 commits into
zephyrproject-rtos:mainfrom
nashif:topic/misc/fixes_001
Open

Fix timer / condvar requirements#145
nashif wants to merge 2 commits into
zephyrproject-rtos:mainfrom
nashif:topic/misc/fixes_001

Conversation

@nashif

@nashif nashif commented Jun 25, 2026

Copy link
Copy Markdown
Member
  • requirements: correct Timers requirement types and wording
  • requirements: fix Condition Variables parent links and sync wording

nashif added 2 commits June 25, 2026 18:54
Audit of the Timers requirements against the k_timer API found minor
classification and wording issues:

- ZEP-SRS-4-7 (timer status) and ZEP-SRS-4-8 (status reinitialization)
  were typed Non-Functional, but reading and resetting a timer's
  expiration count is functional behavior; change them to Functional.
- Reword ZEP-SRS-4-8 and ZEP-SRS-4-9 for clarity ("the timer number of
  times it has expired", "superior to 0" -> "the timer's expiration
  count", "greater than zero").

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Spot-check of the synchronization primitive documents found:

- All Condition Variables requirements (ZEP-SRS-21-*) linked to
  ZEP-SYRS-20 (the Interrupts "Direct ISR" system requirement) instead
  of ZEP-SYRS-21 (Condition Variables). Correct the parent links.
- Fix typos in the Condition Variables document ("priorite" -> "priority";
  a statement beginning "henever" -> "Whenever") and reword the
  mutex-release-on-wait requirement to state the atomic release and
  re-acquire behavior accurately.
- Semaphore: two requirements shared the title "Semaphore release";
  rename one to "Semaphore count increment on release". Retitle
  "Semaphore release with priority inheritance" to "Highest-priority
  waiter unblocked on release", since semaphores do not implement
  priority inheritance (the statement was already correct).

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
@parphane parphane mentioned this pull request Jun 30, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant