« Home » « Learn » « Download » « Github »

logo

Cello High Level C

Examples

Usage

var x = new(Mutex);
with (mut in x) { /* Lock Mutex */ 
  print("Inside Mutex!\n");
} /* Unlock Mutex */

Mutex


Mutual Exclusion Lock

The Mutex type can be used to gain mutual exclusion across Threads for access to some resource.

Derives

Implements

  • Docname brief description definition
  • Locklock trylock unlock
  • Newnew del construct destruct
  • Startwith start stop join running

Back