Xenomai-forge pSOS task: Allow event send to self (current task)
PATCH 1/1 Xenomai-forge pSOS task: Allow event send to self (current task)
Support 0 as value for the tid parameter in ev_send. This then sends the event to the current task.
Signed-off-by Kim De Mey <[email protected]>
---
Hello,
I believe this is existing functionality in Xenomai. Would it be possible to add this in Xenomai-forge?
Kim
lib/psos/task.c +1 -1
@@ -672,7 +672,7 @@ u_long ev_send(u_long tid, u_long eventsstruct service svc;int ret =SUCCESS ; - task =find_psos_task (tid, &ret); + task =find_psos_task_or_self (tid, &ret);if (task ==NULL )return ret;
Philippe Gerum
AppliedQuoted 11 lines · Kim De Mey
Support 0 as value for the tid parameter in
ev_send. This then sends the event to the current task.Signed-off-by Kim De Mey <[email protected]>---
Hello,I believe this is existing functionality in Xenomai. Would it be possible to add this in Xenomai-forge?
Merged, thanks.
Signature · 1 line
Philippe.