6#if !defined(__XTD_CORE_NATIVE_LIBRARY__)
7#error "Do not include this file: Internal use only"
11#include <xtd/core_native_export>
46 static intmax_t
create(
bool initially_owned,
const std::string& name);
52 static void destroy(intmax_t handle,
const std::string& name);
63 static intmax_t
open(
const std::string& name);
69 static bool signal(intmax_t handle,
bool& io_error);
80 static uint32_t
wait(intmax_t handle, int32_t milliseconds_timeout);
Contains named_mutex native API.
Definition named_mutex.h:34
static intmax_t create(bool initially_owned, const std::string &name)
Create named mutex with specified name and a bool value that.
static uint32_t wait(intmax_t handle, int32_t milliseconds_timeout)
Wait named mutex with specified mutex handle and timeout.
static size_t max_name_size()
Gets the maximum name size supported.
static void destroy(intmax_t handle, const std::string &name)
Destroy named mutex with specified mutex handle.
static bool signal(intmax_t handle, bool &io_error)
Signal named mutex with specified mutex handle.
static intmax_t open(const std::string &name)
Open named mutex with specified name.
A synchronization primitive that can also be used for interprocess synchronization.
Definition mutex.h:50
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10