[*] Wait multiple on address fix again: op precedence, and Linux build regression
This commit is contained in:
parent
91ce1f7711
commit
8a94676549
@ -251,7 +251,7 @@ namespace Aurora::Threading
|
||||
if (qwNanosecondsAbs)
|
||||
{
|
||||
#if defined(WOA_SEMAPHORE_MODE)
|
||||
return this->semaphore->LockAbsNS(uEndTime);
|
||||
return this->semaphore->LockAbsNS(qwNanosecondsAbs);
|
||||
#else
|
||||
auto uNow = AuTime::SteadyClockNS();
|
||||
|
||||
@ -1066,7 +1066,7 @@ namespace Aurora::Threading
|
||||
AuAtomicClearU8Lock(&this->uAtomic);
|
||||
}
|
||||
|
||||
#define AddressToIndexOp(pAddress) AuHashCode(pAddress) & (kDefaultWaitPerProcess - 1)
|
||||
#define AddressToIndexOp(pAddress) (AuHashCode(pAddress) & (kDefaultWaitPerProcess - 1))
|
||||
#define AddressToIndex AddressToIndexOp(pAddress)
|
||||
|
||||
WaitEntry *ProcessWaitContainer::WaitBufferFrom(const void *pAddress, AuUInt8 uSize, bool bScheduleFirst, const void *pCompareAddress, EWaitMethod eWaitMethod)
|
||||
|
Loading…
Reference in New Issue
Block a user