Fatal Python error: ceval: tstate mix-up

gb at cs.unc.edu gb at cs.unc.edu
Fri Nov 9 14:45:36 CET 2001


I found the answer to my last question in an old post from Robin
Dunn. To force my app to run on a single processor I just do:

    import win32api, win32process
    cp = win32api.GetCurrentProcess()
    win32process.SetProcessAffinityMask(cp, 1)

Thanks Robin!
gb



More information about the Python-list mailing list