mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-10 16:55:58 +00:00
Merge pull request 'Fixed race condition in interface class' (#34) from fix/race-condition into main
Reviewed-on: https://git.intern.spaceteamaachen.de/ALPAKA/sta-core/pulls/34 Reviewed-by: carlwachter <carlwachter@noreply.git.intern.spaceteamaachen.de>
This commit is contained in:
commit
53567724f1
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user