CellModules
mingw.shared_mutex.h File Reference

Standard-compliant shared_mutex for MinGW. More...

#include <assert.h>
#include "mingw.mutex.h"
#include <system_error>
#include <atomic>
#include <chrono>
#include "mingw.thread.h"

Go to the source code of this file.

Classes

class  mingw_stdthread::portable::shared_mutex
 
class  mingw_stdthread::shared_timed_mutex
 
class  mingw_stdthread::shared_lock< Mutex >
 

Namespaces

namespace  mingw_stdthread
 
namespace  mingw_stdthread::portable
 
namespace  std
 Provides common mathematical functions and vector operations.
 

Functions

template<class Mutex >
void mingw_stdthread::swap (shared_lock< Mutex > &lhs, shared_lock< Mutex > &rhs) noexcept
 

Detailed Description

Standard-compliant shared_mutex for MinGW.

(c) 2017 by Nathaniel J. McClatchey, Athens OH, United States

Author
Nathaniel J. McClatchey
Note
This file may become part of the mingw-w64 runtime package. If/when this happens, the appropriate license will be added, i.e. this code will become dual-licensed, and the current BSD 2-clause license will stay.
Target Windows version is determined by WINVER, which is determined in <windows.h> from _WIN32_WINNT, which can itself be set by the user.

Definition in file mingw.shared_mutex.h.