Mutex
Date: 2013-11-17

org.simgrid.msg

## Class Mutex

- java.lang.Object
- - org.simgrid.msg.Mutex

-     public class Mutex
      extends java.lang.Object

  A mutex implemented on top of SimGrid synchronization mechanisms. You can use it exactly the same way that you use the mutexes, but to handle the interactions between the processes within the simulation.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Mutex()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `acquire()`
    `protected void` | `finalize()`
    `static void` | `nativeInit()` Class initializer, to initialize various JNI stuff
    `void` | `release()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Mutex

          public Mutex()

  - ### Method Detail

    - #### finalize

          protected void finalize()

      Overrides:
        `finalize` in class `java.lang.Object`

    - #### acquire

          public void acquire()

    - #### release

          public void release()

    - #### nativeInit

          public static void nativeInit()

      Class initializer, to initialize various JNI stuff