Ignore:
Timestamp:
10/18/17 13:54:41 (7 years ago)
Author:
tbretz
Message:
Updated to v20r20 - This also includes some minor fixes, I requested.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/dim/src/dim_thr.c

    r15282 r18920  
    736736        else if(pclass == 2)
    737737                p = REALTIME_PRIORITY_CLASS;
     738/*added by dietrich beck, GSI*/
     739#ifdef PHARLAP
     740        ret = 1;
     741#else
    738742        ret = SetPriorityClass(hProc, p);
     743#endif
    739744        if(ret)
    740745          return 1;
     
    755760        hProc = GetCurrentProcess();
    756761
     762/*added by dietrich beck, GSI*/
     763#ifdef PHARLAP
     764        ret = NORMAL_PRIORITY_CLASS;
     765#else
    757766        ret = GetPriorityClass(hProc);
    758         if(ret == 0)
     767#endif
     768        if (ret == 0)
    759769          return 0;
    760770        if(ret == IDLE_PRIORITY_CLASS)
Note: See TracChangeset for help on using the changeset viewer.