Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
thread.hpp File Reference
#include <unistd.h>
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <cstdint>
#include <functional>
#include <mutex>
#include <set>
#include <thread>
#include <vector>

Go to the source code of this file.

Classes

struct  aurore::DelayOperation
 
class  aurore::Threading
 

Namespaces

namespace  aurore
 

Typedefs

typedef std::vector< DelayOperation >::iterator aurore::DelayOperationIterator
 

Functions

void aurore::sync (std::function< void()> func)
 
void aurore::async (std::function< void()> func)
 
size_t aurore::delay (long milliseconds, std::function< void()> func)
 
void aurore::cancelDelay (size_t iter)