ZXFoundation™ 26h2
Loading...
Searching...
No Matches
lib::locking_error Namespace Referenceexport

Locking and synchronization error codes. More...

Enumerations

enum  lib::locking_error::code : u32 {
  none = 0 , lib::locking_error::timeout = 1 , lib::locking_error::deadlock_detected = 2 , lib::locking_error::already_locked = 3 ,
  lib::locking_error::not_locked = 4 , lib::locking_error::max_depth_exceeded = 5
}

Detailed Description

Locking and synchronization error codes.

Enumeration Type Documentation

◆ code

enum lib::locking_error::code : u32
export
Enumerator
timeout 

Lock acquisition timed out.

deadlock_detected 

Potential deadlock detected.

already_locked 

Lock is already held.

not_locked 

Attempt to unlock a non-held lock.

max_depth_exceeded 

Exceeded MAX_LOCK_DEPTH.