SCHED_NORMAL is the same as SCHED_OTHER. But to run in the old linux, we can't remove SCHED_OTHER, even if it no longer exists in the current main branch. But we still need to add SCHED_NORMAL, because SCHED_OTHER only exists in the old distribution. Has this already been discussed...
if (PyModule_AddIntMacro(m, SCHED_OTHER)) return -1; #endif #ifdef SCHED_DEADLINE if (PyModule_AddIntMacro(m, SCHED_DEADLINE)) return -1; #endif #ifdef SCHED_FIFO if (PyModule_AddIntMacro(m, SCHED_FIFO)) return -1; #endif #ifdef SCHED_NORMAL if (PyModule_AddIntMacro(m, SCHED...