Networking TS

PrevUpHomeNext

system_executor

An executor that uses arbitrary threads.

class system_executor
Member Functions

Name

Description

context

Obtain the underlying execution context.

defer

Request the system executor to invoke the given function object.

dispatch

Request the system executor to invoke the given function object.

on_work_finished

Inform the executor that some work is no longer outstanding.

on_work_started

Inform the executor that it has some outstanding work to do.

post

Request the system executor to invoke the given function object.

Friends

Name

Description

operator!=

Compare two executors for inequality.

operator==

Compare two executors for equality.

The system executor represents an execution context where functions are permitted to run on arbitrary threads. The post() and defer() functions schedule the function to run on an unspecified system thread pool, and dispatch() invokes the function immediately.


PrevUpHomeNext