fixed bug where win32 version of epicsThreadHighestPriorityLevelBelow didnt map to a lower priority successfully if the epics priority was mapping into the 2nd win32 priority bucket
This commit is contained in:
1 parent
1bab392da7
commit
c1bd11de58
1 file changed
+1
-1
@@ -433,7 +433,7 @@ epicsShareFunc epicsThreadBooleanStatus epicsShareAPI epicsThreadHighestPriority
|
||||
|
||||
magnitude = osdPriorityMagFromPriorityOSI ( priority, stateCount );
|
||||
|
||||
if ( magnitude > 1u ) {
|
||||
if ( magnitude > 0u ) {
|
||||
*pPriorityJustBelow = osiPriorityMagFromMagnitueOSD ( magnitude - 1u, stateCount );
|
||||
status = epicsThreadBooleanStatusSuccess;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user