WPILibC++ 2023.4.3
Work.h File Reference
#include <uv.h>
#include <functional>
#include <memory>
#include <utility>
#include <wpi/Signal.h>
#include "wpinet/uv/Request.h"

Go to the source code of this file.

Classes

class  wpi::uv::WorkReq
 Work request. More...
 

Namespaces

namespace  wpi
 /file This file defines the SmallVector class.
 
namespace  wpi::uv
 

Functions

void wpi::uv::QueueWork (Loop &loop, const std::shared_ptr< WorkReq > &req)
 Initializes a work request which will run on the thread pool. More...
 
void wpi::uv::QueueWork (const std::shared_ptr< Loop > &loop, const std::shared_ptr< WorkReq > &req)
 Initializes a work request which will run on the thread pool. More...
 
void wpi::uv::QueueWork (Loop &loop, std::function< void()> work, std::function< void()> afterWork)
 Initializes a work request which will run on the thread pool. More...
 
void wpi::uv::QueueWork (const std::shared_ptr< Loop > &loop, std::function< void()> work, std::function< void()> afterWork)
 Initializes a work request which will run on the thread pool. More...