Android-cuttlefish cvd tool
Classes | Namespaces | Functions
thread_looper.h File Reference
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <deque>
#include <functional>
#include <mutex>
#include <thread>
Include dependency graph for thread_looper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cuttlefish::ThreadLooper
 
struct  cuttlefish::ThreadLooper::Event
 

Namespaces

namespace  cuttlefish
 

Functions

template<typename T >
std::function< void()> cuttlefish::makeSafeCallback (T *me, std::function< void(T *)> f)
 
template<typename T , typename... Params>
std::function< void()> cuttlefish::makeSafeCallback (T *obj, void(T::*f)(const Params &...), const Params &... params)
 
template<typename T , typename... Params>
std::function< void()> cuttlefish::makeSafeCallback (T *obj, void(T::*f)(Params...), const Params &... params)