MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
future.hpp File Reference
#include "mtcore_thread/arc.hpp"
#include "mtcore_thread/core.hpp"
#include <condition_variable>
#include <functional>
#include <mutex>
Include dependency graph for future.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mtcore::thread::Future< T, E >
 Represents a value that will be made available in the future Can wait on the value for when it is ready. More...
 
struct  mtcore::thread::FutureState< T, void >
 Represents the state-setter part of a future. More...
 
struct  mtcore::thread::FutureState< T, void >::make_res
 
struct  mtcore::thread::FutureState< T, E >
 Represents the state-setter part of a future. More...
 
struct  mtcore::thread::FutureState< T, E >::make_res
 

Namespaces

namespace  mtcore
 Core library for C++ with Zig-related functionality.
 
namespace  mtcore::thread
 Thread-related namespace The methods and classes provided by this class are thread-safe Classes and methods provided outside of this class are not thread-safe (with the exception of malloc_alloc) This requires linking mtcore_thread to your application.