Changeset 3355 for trunk/src/kmk/w32


Ignore:
Timestamp:
Jun 5, 2020, 4:06:42 AM (5 years ago)
Author:
bird
Message:

kWorker,kmk: Correcting a few SetThreadGroupAffinity calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/w32/winchildren.c

    r3353 r3355  
    551551                        Info.BasicLimitInformation.LimitFlags &= ~JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE;
    552552                    if (!SetInformationJobObject(hJob, JobObjectExtendedLimitInformation, &Info, sizeof(Info)))
    553                         OSN(message, 0, _("SetInformationJobObject(%s,JobObjectExtendedLimitInformation,{%s},) failed: %u"),
    554                             pszJobName, win_job_object_mode, GetLastError());
     553                        OSSN(message, 0, _("SetInformationJobObject(%s,JobObjectExtendedLimitInformation,{%s},) failed: %u"),
     554                             pszJobName, win_job_object_mode, GetLastError());
    555555                }
    556556                else
     
    12831283        if (g_cProcessorGroups > 1)
    12841284        {
    1285             GROUP_AFFINITY Affinity = { 0, pWorker->iProcessorGroup, { 0, 0, 0 } };
     1285            GROUP_AFFINITY Affinity = { 0 /* == all active apparently */, pWorker->iProcessorGroup, { 0, 0, 0 } };
    12861286            fRet = g_pfnSetThreadGroupAffinity(ProcInfo.hThread, &Affinity, NULL);
    12871287            assert(fRet);
     
    24902490    if (g_cProcessorGroups > 1)
    24912491    {
    2492         GROUP_AFFINITY Affinity = { 0 /* == all active apparently */ , pWorker->iProcessorGroup, { 0, 0, 0 } };
     2492        GROUP_AFFINITY Affinity = { 0 /* == all active apparently */, pWorker->iProcessorGroup, { 0, 0, 0 } };
    24932493        BOOL fRet = g_pfnSetThreadGroupAffinity(GetCurrentThread(), &Affinity, NULL);
    24942494        assert(fRet); (void)fRet;
Note: See TracChangeset for help on using the changeset viewer.