Sane C++ Libraries
C++ Platform Abstraction Libraries
SC::ThreadPoolTask Struct Reference

A small task containing a function to execute that can be queued in the thread pool. More...

#include <ThreadPool.h>

Public Attributes

Function< void()> function
 Function that will be executed during the task. More...
 

Friends

struct ThreadPool
 

Detailed Description

A small task containing a function to execute that can be queued in the thread pool.

Fill Task::function with any function to execute in the thread pool.

Member Data Documentation

◆ function

Function<void()> SC::ThreadPoolTask::function

Function that will be executed during the task.


The documentation for this struct was generated from the following file: