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:
Norman Feske
2023-02-21 16:35:23 +01:00
committed by Christian Helmuth
parent 356506a67a
commit 6d25ffc70b
10 changed files with 25 additions and 66 deletions

View File

@ -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()