_SetThreadsCoreDumpFlag
int32 threadCount = _SetThreadsCoreDumpFlag(true);
_SetThreadsCoreDumpFlag(false);