Skip to content
Snippets Groups Projects
Commit f25947b9 authored by Beat Küng's avatar Beat Küng Committed by Julian Oes
Browse files

hrt_work_queue posix: only send a wake-up signal if not called from own thread

The simulated timer interrupt always adds a new scheduled work task, which
is called from the work queue thread. Sending the signal creates measurable
overhead (~5% of the px4 CPU runtime) and is unnecessary, since the thread
is not sleeping anyway.
parent 1d111cb2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment