poser
A C framework for POsix SERvices
Loading...
Searching...
No Matches
threadpool.h File Reference

declarations for the PSC_ThreadPool and related classes More...

#include <poser/decl.h>

Go to the source code of this file.

Typedefs

typedef void(* PSC_ThreadProc) (void *arg)
 A function to run on a worker thread.
 
typedef void(* PSC_AsyncTaskJob) (PSC_AsyncTask *task)
 A function to run for completing an asynchronous task.
 

Detailed Description

declarations for the PSC_ThreadPool and related classes

Typedef Documentation

◆ PSC_AsyncTaskJob

typedef void(* PSC_AsyncTaskJob) (PSC_AsyncTask *task)

A function to run for completing an asynchronous task.

Parameters
taskthe task to complete

◆ PSC_ThreadProc

typedef void(* PSC_ThreadProc) (void *arg)

A function to run on a worker thread.

Parameters
argthe data to work on