Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
greenlet_thread_support.hpp
1#ifndef GREENLET_THREAD_SUPPORT_HPP
2#define GREENLET_THREAD_SUPPORT_HPP
3
13#include <stdexcept>
14#include <thread>
15#include <mutex>
16
17#include "greenlet_compiler_compat.hpp"
18
19namespace greenlet {
20 typedef std::mutex Mutex;
21 typedef std::lock_guard<Mutex> LockGuard;
22 class LockInitError : public std::runtime_error
23 {
24 public:
25 LockInitError(const char* what) : std::runtime_error(what)
26 {};
27 };
28};
29
30
31#endif /* GREENLET_THREAD_SUPPORT_HPP */
Definition greenlet_thread_support.hpp:23
Definition __init__.py:1