mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-02 19:57:43 +08:00
Add memory order to the list of clear() parameters
This commit is contained in:
parent
245faabfce
commit
acd56f2cee
@ -126,7 +126,7 @@ class SpinLock
|
||||
}
|
||||
~SpinLock()
|
||||
{
|
||||
_flag.clear();
|
||||
_flag.clear(std::memory_order_release);
|
||||
}
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user