mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-09-28 21:17:33 +00:00
Fixed race condition in interface class
This commit is contained in:
@@ -18,8 +18,8 @@ namespace sta
|
|||||||
|
|
||||||
void Interface::release()
|
void Interface::release()
|
||||||
{
|
{
|
||||||
mutex_->release();
|
|
||||||
acquired_ = false;
|
acquired_ = false;
|
||||||
|
mutex_->release();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Interface::isAcquired()
|
bool Interface::isAcquired()
|
||||||
|
Reference in New Issue
Block a user