Commit 98753d88 authored by Philippe Gerum's avatar Philippe Gerum

Fix wrong call

parent 86b4aec8
......@@ -269,7 +269,7 @@ void xnsynch_renice_sleeper (xnthread_t *thread)
insertpqf(&synch->pendq, &thread->plink, thread->cprio);
owner = synch->owner;
if (owner != NULL && xnpod_compare_prio(thread->cprio, owner->cprio) > 0)
if (owner != NULL && xnpod_priocompare(thread->cprio, owner->cprio) > 0)
{
/* The new priority of the sleeping thread is higher than
* the priority of the current owner of the resource: we
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment