Namespaces
Variants
Views
Actions

mtx_plain, mtx_recursive, mtx_timed

From cppreference.com
< c‎ | thread
Revision as of 17:36, 9 July 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Defined in header <threads.h>
enum {

    mtx_plain = /* unspecified */,
    mtx_recursive = /* unspecified */,
    mtx_timed = /* unspecified */

};
(since C11)

When passed to mtx_init, identifies the type of a mutex to create.

Constant Explanation
mtx_plain plain mutex
mtx_recursive recursive mutex
mtx_timed timed mutex

[edit] See also

c/thread/dsc mtx_init