Changeset 1912


Ignore:
Timestamp:
Apr 25, 2005, 6:50:41 AM (21 years ago)
Author:
bird
Message:

Added some logic to update iNice for the current process (might be changed externally or created by an older libc process).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/sys/b_processGetPriority.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r1911 r1912  
    3535#include <InnoTekLIBC/backend.h>
    3636#include <InnoTekLIBC/sharedpm.h>
     37
    3738#define __LIBC_LOG_GROUP __LIBC_LOG_GRP_BACK_PROCESS
    3839#include <InnoTekLIBC/logstrict.h>
     
    146147        int *piNice = (int *)pvUser;
    147148        int iNice = pProcess->iNice;
     149
     150
     151
     152
     153
     154
     155
     156
     157
     158
     159
    148160        if (iNice < *piNice)
    149161            *piNice = iNice;
Note: See TracChangeset for help on using the changeset viewer.