From 3d142783c7d22ea24db6ffe122c42dd9fffc62e6 Mon Sep 17 00:00:00 2001 From: Aleksandar Fabijanic Date: Wed, 22 Aug 2012 02:18:18 +0000 Subject: [PATCH] SF#3503267: VxWorks OS prio is not set in standard constructor --- Foundation/include/Poco/Thread_VX.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Foundation/include/Poco/Thread_VX.h b/Foundation/include/Poco/Thread_VX.h index c113bda67..c8c4f28a9 100644 --- a/Foundation/include/Poco/Thread_VX.h +++ b/Foundation/include/Poco/Thread_VX.h @@ -56,7 +56,7 @@ namespace Poco { class Foundation_API ThreadImpl { public: - typedef int TIDImpl; + typedef int TIDImpl; typedef void (*Callable)(void*); enum Priority @@ -88,9 +88,9 @@ public: void* pData; }; - ThreadImpl(); + ThreadImpl(); ~ThreadImpl(); - + TIDImpl tidImpl() const; void setPriorityImpl(int prio); int getPriorityImpl() const; @@ -124,7 +124,7 @@ protected: pCallbackTarget(0), task(0), prio(PRIO_NORMAL_IMPL), - osPrio(0), + osPrio(127), done(false), stackSize(POCO_THREAD_STACK_SIZE) {