Project Alice
Loading...
Searching...
No Matches
httplib::TaskQueue Class Referenceabstract

#include <httplib.h>

Inheritance diagram for httplib::TaskQueue:

Public Member Functions

 TaskQueue ()=default
 
virtual ~TaskQueue ()=default
 
virtual bool enqueue (std::function< void()> fn)=0
 
virtual void shutdown ()=0
 
virtual void on_idle ()
 

Detailed Description

Definition at line 743 of file httplib.h.

Constructor & Destructor Documentation

◆ TaskQueue()

httplib::TaskQueue::TaskQueue ( )
default

◆ ~TaskQueue()

virtual httplib::TaskQueue::~TaskQueue ( )
virtualdefault

Member Function Documentation

◆ enqueue()

virtual bool httplib::TaskQueue::enqueue ( std::function< void()>  fn)
pure virtual

Implemented in httplib::ThreadPool.

◆ on_idle()

virtual void httplib::TaskQueue::on_idle ( )
inlinevirtual

Definition at line 751 of file httplib.h.

◆ shutdown()

virtual void httplib::TaskQueue::shutdown ( )
pure virtual

Implemented in httplib::ThreadPool.


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