Skip to content

Commit

Permalink
px4_work_queue: Disable priority inheritance for signaling semaphore
Browse files Browse the repository at this point in the history
  • Loading branch information
pussuw committed Dec 17, 2024
1 parent 32b328a commit 5e06431
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platforms/common/px4_work_queue/WorkItemSingleShot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ WorkItemSingleShot::WorkItemSingleShot(const px4::WorkItem &work_item, worker_me
: px4::WorkItem("<single_shot>", work_item), _argument(argument), _method(method)
{
px4_sem_init(&_sem, 0, 0);
px4_sem_setprotocol(&_sem, SEM_PRIO_NONE);
}

WorkItemSingleShot::~WorkItemSingleShot()
Expand Down

0 comments on commit 5e06431

Please sign in to comment.