mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-12 07:24:07 +00:00
Introduce process global spin-lock for Cap_index's reference-counter to avoid non-atomic increment/decrement of the counter. Here, we don't use a static Spinlock object, because it's constructor wouldn't be initialized before used for the first time.