Update SetCriticalProcess.cpp