[*] These config fields were switched to abs values, not relative to the user signal range
This commit is contained in:
parent
38bf52e852
commit
afbe942ffd
@ -834,7 +834,7 @@ namespace Aurora::Threading::Threads
|
|||||||
.sa_flags = 0
|
.sa_flags = 0
|
||||||
};
|
};
|
||||||
::sigemptyset(&action.sa_mask);
|
::sigemptyset(&action.sa_mask);
|
||||||
::sigaction(SIGRTMIN + gRuntimeConfig.linuxConfig.uSignalTerminate, &action, nullptr);
|
::sigaction(gRuntimeConfig.linuxConfig.uSignalTerminate, &action, nullptr);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1369,7 +1369,7 @@ namespace Aurora::Threading::Threads
|
|||||||
// .sa_handler = SIG_DFL
|
// .sa_handler = SIG_DFL
|
||||||
//};
|
//};
|
||||||
//::sigemptyset(&action.sa_mask);
|
//::sigemptyset(&action.sa_mask);
|
||||||
//::sigaction(SIGRTMIN + gRuntimeConfig.linuxConfig.uSignalTerminate, &action, nullptr);
|
//::sigaction(gRuntimeConfig.linuxConfig.uSignalTerminate, &action, nullptr);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1488,7 +1488,7 @@ namespace Aurora::Threading::Threads
|
|||||||
|
|
||||||
if (this->bSupportsAltKill)
|
if (this->bSupportsAltKill)
|
||||||
{
|
{
|
||||||
::pthread_kill(this->handle_, SIGRTMIN + gRuntimeConfig.linuxConfig.uSignalTerminate);
|
::pthread_kill(this->handle_, gRuntimeConfig.linuxConfig.uSignalTerminate);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user