View Source Mutex.Lock (Mutex v3.0.0)

This module defines a struct containing the key(s) locked with all the locking functions in Mutex.

Summary

Types

t()

The struct containing the key(s) locked during a lock operation. :type specifies wether there is one or more keys.

Types

@type t() :: %Mutex.Lock{
  key: nil | Mutex.key(),
  keys: nil | [Mutex.key()],
  type: :single | :multi
}

The struct containing the key(s) locked during a lock operation. :type specifies wether there is one or more keys.