KiCad PCB EDA Suite
ki_mutex.h File Reference
#include <boost/interprocess/sync/interprocess_mutex.hpp>
#include <boost/interprocess/sync/scoped_lock.hpp>

Go to the source code of this file.

Typedefs

typedef boost::interprocess::interprocess_mutex MUTEX
 Establish KiCad MUTEX choices here in this file: typedef MUTEX and typedef MUTLOCK. More...
 
typedef boost::interprocess::scoped_lock< MUTEXMUTLOCK
 

Typedef Documentation

typedef boost::interprocess::interprocess_mutex MUTEX

Establish KiCad MUTEX choices here in this file: typedef MUTEX and typedef MUTLOCK.

Using an unnamed resource is easier, providing a textual name for a constructor is cumbersome, so we make choice on that criteria mostly:

Definition at line 42 of file ki_mutex.h.

typedef boost::interprocess::scoped_lock<MUTEX> MUTLOCK

Definition at line 43 of file ki_mutex.h.