mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-05 10:39:56 +00:00
The mutex class is more restrictive in usage compared to Genode::Lock. - At initialiation time it is ever unlocked. - No thread is permitted to lock twice. Warn about it in case it happens. - Only the lock onwer is permitted to unlock the mutex. Warn about it and don't unlock the mutex in case it happens. Issue #3612