KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
workqueue_job_t Struct Reference

Structure describing a job for the work queue. More...

#include <workqueue.h>

Public Member Functions

 STAILQ_ENTRY (workqueue_job) entry
 List handle.
 

Data Fields

void(* cb )(workqueue_t *queue, struct workqueue_job *job)
 Routine to call.
 
uint64_t time_ms
 Time at which the job will be processed.
 

Detailed Description

Structure describing a job for the work queue.

Member Function Documentation

◆ STAILQ_ENTRY()

workqueue_job_t::STAILQ_ENTRY ( workqueue_job )

List handle.

No need to set manually.

Field Documentation

◆ cb

void(* workqueue_job_t::cb) (workqueue_t *queue, struct workqueue_job *job)

Routine to call.

◆ time_ms

uint64_t workqueue_job_t::time_ms

Time at which the job will be processed.

If set to 0, the job will be set to execute immediately.


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