diff --git a/sched/signal/sig_notification.c b/sched/signal/sig_notification.c index 6313fa0d23..3f7acfc739 100644 --- a/sched/signal/sig_notification.c +++ b/sched/signal/sig_notification.c @@ -175,6 +175,6 @@ int nxsig_notification(pid_t pid, FAR struct sigevent *event, #ifdef CONFIG_SIG_EVTHREAD void nxsig_cancel_notification(FAR struct sigwork_s *work) { - work_cancel(SIG_EVTHREAD_WORK, &work->work); + work_cancel_sync(SIG_EVTHREAD_WORK, &work->work); } #endif