mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-23 01:08:55 +00:00
Remove base/lock_guard.h
For Genode API users, the 'Mutex::Guard' is the way to go. Special lock implementations can bring their own 'Guard' utilities. Fixes #4769
This commit is contained in:
committed by
Christian Helmuth
parent
356506a67a
commit
6d25ffc70b
@ -221,7 +221,7 @@ void Capability_map::remove(Cap_index *i)
|
||||
{
|
||||
using namespace Foc;
|
||||
|
||||
Lock_guard<Spin_lock> guard(_lock);
|
||||
Spin_lock::Guard guard(_lock);
|
||||
|
||||
if (i) {
|
||||
Core_cap_index* e = static_cast<Core_cap_index*>(_tree.first()
|
||||
|
Reference in New Issue
Block a user