pthread_mutex_new

Macro pthread_mutex_new 

Source
macro_rules! pthread_mutex_new {
    () => { ... };
    ($e:expr) => { ... };
}
Expand description

Statically initializes a pthread_mutex_t

ยงExamples

#[macro_use]
extern crate flexible_locks;
use flexible_locks::pthread_mutex_t;
static MUTEX: pthread_mutex_t = pthread_mutex_new!();