Results 1 to 1 of 1
HI *,
i am porting Windows based application to Linux and facing some difficulties while mapping some thread prority macroes(Windows) to respective Linux values.
As far as i know thread ...
- 11-12-2008 #1Just Joined!
- Join Date
- Nov 2008
- Posts
- 1
How should i map Windows thread priority macros to Linux?
HI *,
i am porting Windows based application to Linux and facing some difficulties while mapping some thread prority macroes(Windows) to respective Linux values.
As far as i know thread priorities in Windows vary from 1(Lowest) to 31(Highest) where in Linux it varies from 1(Lowest) to 99(Highest).Is this information correct?
Now following are the Macros i am using in Windows for which i want corrosponding values in Linux....
THREAD_PRIORITY_NORMAL 24
THREAD_PRIORITY_TIME_CRITICAL 31
THREAD_PRIORITY_HIGHEST 26
THREAD_PRIORITY_ABOVE_NORMAL 25
THREAD_PRIORITY_BELOW_NORMAL 23
THREAD_PRIORITY_LOWEST 22
can anyone please help ?


Reply With Quote