syslog-ng source
MainLoopThreadedWorker Struct Reference

#include <mainloop-threaded-worker.h>

Public Attributes

gpointer data
 
MainLoopWorkerType worker_type
 
GThread * thread
 
GMutex lock
 
struct {
   GCond   cond
 
   gboolean   finished
 
   gboolean   result
 
startup
 
gboolean(* thread_init )(MainLoopThreadedWorker *s)
 
void(* thread_deinit )(MainLoopThreadedWorker *s)
 
void(* request_exit )(MainLoopThreadedWorker *self)
 
void(* run )(MainLoopThreadedWorker *self)
 

Member Data Documentation

◆ cond

GCond MainLoopThreadedWorker::cond

◆ data

gpointer MainLoopThreadedWorker::data

◆ finished

gboolean MainLoopThreadedWorker::finished

◆ lock

GMutex MainLoopThreadedWorker::lock

◆ request_exit

void(* MainLoopThreadedWorker::request_exit) (MainLoopThreadedWorker *self)

◆ result

gboolean MainLoopThreadedWorker::result

◆ run

void(* MainLoopThreadedWorker::run) (MainLoopThreadedWorker *self)

◆ 

struct { ... } MainLoopThreadedWorker::startup

◆ thread

GThread* MainLoopThreadedWorker::thread

◆ thread_deinit

void(* MainLoopThreadedWorker::thread_deinit) (MainLoopThreadedWorker *s)

◆ thread_init

gboolean(* MainLoopThreadedWorker::thread_init) (MainLoopThreadedWorker *s)

◆ worker_type

MainLoopWorkerType MainLoopThreadedWorker::worker_type

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