mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 15:50:23 +00:00
A SIGEV_SIGNAL | SIGEV_THREAD_ID timer skipped timer_create's signal check, and nxsig_notification honoured any thread ID. Add nxsig_event_valid(): the signal must exist and a SIGEV_THREAD_ID target must be one of the caller's own threads, as on Linux. timer_create, gpio, button and phy_notify call it before storing an event, so the caller gets EINVAL and an expiring timer never fails its DEBUGVERIFY. Signed-off-by: Royyan Zahir <royzah@gmail.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Make.defs | ||
| timer.h | ||
| timer_create.c | ||
| timer_delete.c | ||
| timer_getitimer.c | ||
| timer_getoverrun.c | ||
| timer_gettime.c | ||
| timer_initialize.c | ||
| timer_release.c | ||
| timer_setitimer.c | ||
| timer_settime.c | ||