posix: HRT hrt_lock() sem_wait try again if error returned

This commit is contained in:
Daniel Agar
2022-04-12 12:46:29 -04:00
parent 10f927ae2b
commit 1d66f2cf83
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ static void hrt_work_process()
if (elapsed >= work->delay) {
/* Remove the ready-to-execute work from the list */
(void)dq_rem((struct dq_entry_s *) & (work->dq), &(wqueue->q));
(void)dq_rem((dq_entry_t *)&work->dq, &wqueue->q);
//PX4_INFO("Dequeued work=%p", work);
/* Extract the work description from the entry (in case the work