WPILibC++ 2023.4.3-108-ge5452e3
WorkerThread.h File Reference
#include <functional>
#include <memory>
#include <tuple>
#include <utility>
#include <vector>
#include <wpi/SafeThread.h>
#include <wpi/future.h>
#include "wpinet/uv/Async.h"

Go to the source code of this file.

Classes

struct  wpi::detail::WorkerThreadAsync< R >
 
struct  wpi::detail::WorkerThreadAsync< void >
 
struct  wpi::detail::WorkerThreadRequest< R, T >
 
class  wpi::detail::WorkerThreadThread< R, T >
 
class  wpi::WorkerThread< R(T...)>
 

Namespaces

namespace  wpi
 
namespace  wpi::detail
 detail namespace with internal helper functions
 

Functions

template<typename R , typename... T>
void wpi::detail::RunWorkerThreadRequest (WorkerThreadThread< R, T... > &thr, WorkerThreadRequest< R, T... > &req)
 
template<typename... T>
void wpi::detail::RunWorkerThreadRequest (WorkerThreadThread< void, T... > &thr, WorkerThreadRequest< void, T... > &req)