[*] Linux unaligned signal fix
This commit is contained in:
parent
affe4cc496
commit
dd655ad3e0
@ -855,7 +855,8 @@ namespace Aurora::Threading
|
||||
{
|
||||
if (IsWaitOnRecommended())
|
||||
{
|
||||
RunOSWakeNOnAddress(pTargetAddress, uNMaximumThreads);
|
||||
auto [pWakeAddress, uDelta, uMask] = DecodeAddress(pTargetAddress, 1);
|
||||
RunOSWakeNOnAddress(pWakeAddress, uDelta ? INT_MAX : uNMaximumThreads);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -888,7 +889,8 @@ namespace Aurora::Threading
|
||||
{
|
||||
if (IsWaitOnRecommended())
|
||||
{
|
||||
RunOSWakeAllOnAddress(pTargetAddress);
|
||||
auto [pWakeAddress, uDelta, uMask] = DecodeAddress(pTargetAddress, 1);
|
||||
RunOSWakeAllOnAddress(pWakeAddress);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user