CellModules
mingw.thread.h File Reference

std::thread implementation for MinGW (c) 2013-2016 by Mega Limited, Auckland, New Zealand More...

#include <thread>
#include <windows.h>
#include <functional>
#include <memory>
#include <chrono>
#include <system_error>
#include <cerrno>
#include <ostream>
#include <process.h>
#include <type_traits>

Go to the source code of this file.

Classes

struct  mingw_stdthread::detail::Invoker< PMemFunc, PMemData >
 
struct  mingw_stdthread::detail::InvokerHelper< false >
 
struct  mingw_stdthread::detail::InvokerHelper< true >
 
struct  mingw_stdthread::detail::Invoker< true, false >
 
struct  mingw_stdthread::detail::Invoker< false, true >
 
struct  mingw_stdthread::detail::InvokeResult< F, Args >
 
struct  mingw_stdthread::detail::IntSeq<... >
 
struct  mingw_stdthread::detail::GenIntSeq< N, S >
 
struct  mingw_stdthread::detail::GenIntSeq< 0, S... >
 
struct  mingw_stdthread::detail::ThreadFuncCall< Func, Args >
 
class  mingw_stdthread::thread
 
class  mingw_stdthread::thread::id
 
struct  std::hash< mingw_stdthread::thread::id >
 

Namespaces

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

Macros

#define _STD_THREAD_INVALID_HANDLE   0
 
#define MINGW_STDTHREAD_REDUNDANCY_WARNING
 

Functions

template<class F , class... Args>
auto mingw_stdthread::detail::invoke (F &&f, Args &&... args) -> decltype(InvokeResult< F, Args... >::invoke(std::forward< F >(f), std::forward< Args >(args)...))
 
thread::id mingw_stdthread::this_thread::get_id () noexcept
 
void mingw_stdthread::this_thread::yield () noexcept
 
template<class Rep , class Period >
void mingw_stdthread::this_thread::sleep_for (const std::chrono::duration< Rep, Period > &sleep_duration)
 
template<class Clock , class Duration >
void mingw_stdthread::this_thread::sleep_until (const std::chrono::time_point< Clock, Duration > &sleep_time)
 

Detailed Description

std::thread implementation for MinGW (c) 2013-2016 by Mega Limited, Auckland, New Zealand

Author
Alexander Vassilev

This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

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.

Definition in file mingw.thread.h.

Macro Definition Documentation

◆ _STD_THREAD_INVALID_HANDLE

#define _STD_THREAD_INVALID_HANDLE   0

Definition at line 42 of file mingw.thread.h.

◆ MINGW_STDTHREAD_REDUNDANCY_WARNING

#define MINGW_STDTHREAD_REDUNDANCY_WARNING

Definition at line 322 of file mingw.thread.h.