From 59f7727880996bd89de4a906f7371454e8a7e340 Mon Sep 17 00:00:00 2001 From: Stephen Roderick Date: Thu, 24 Sep 2009 16:12:50 -0400 Subject: [PATCH] Correct the priority check for macosx target --- src/os/macosx/fosi_internal.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/os/macosx/fosi_internal.cpp b/src/os/macosx/fosi_internal.cpp index 174eb03..40edd97 100644 --- a/src/os/macosx/fosi_internal.cpp +++ b/src/os/macosx/fosi_internal.cpp @@ -197,7 +197,7 @@ namespace RTT // check scheduler first. ret = rtos_task_check_scheduler(scheduler); - if (*priority <= 0){ + if (*priority < 0){ log(Warning) << "Forcing priority ("<<*priority<<") of thread to 0." <