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/kmkbuiltin/kSubmit.c

    r3313 r3355  
    588588                            if (iProcessorGroup >= 0 && g_pfnSetThreadGroupAffinity)
    589589                            {
    590                                 GROUP_AFFINITY NewAff = { ~(uintptr_t)0, (WORD)iProcessorGroup, 0, 0, 0 };
    591                                 GROUP_AFFINITY OldAff = {             0,                     0, 0, 0, 0 };
     590                                GROUP_AFFINITY OldAff = { 0,                                                    0, 0, 0, 0 };
     591                                GROUP_AFFINITY NewAff = { 0 /* == all active apparently */, (WORD)iProcessorGroup, 0, 0, 0 };
    592592                                if (!g_pfnSetThreadGroupAffinity(ProcInfo.hThread, &NewAff, &OldAff))
    593593                                    warnx(pCtx, "warning: Failed to set processor group to %d: %u\n",
Note: See TracChangeset for help on using the changeset viewer.