Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
drawlayer_rt_worker_t Struct Reference

One worker thread runtime including event ring buffer. More...

+ Collaboration diagram for drawlayer_rt_worker_t:

Data Fields

pthread_t thread
 
gboolean thread_started
 
dt_drawlayer_paint_raw_input_tring
 
guint ring_capacity
 
guint ring_head
 
guint ring_tail
 
guint ring_count
 
dt_drawlayer_worker_state_t state
 
gboolean stop
 

Detailed Description

One worker thread runtime including event ring buffer.

Definition at line 62 of file worker.c.

Field Documentation

◆ ring

dt_drawlayer_paint_raw_input_t* drawlayer_rt_worker_t::ring

FIFO ring storage.

Definition at line 66 of file worker.c.

Referenced by _enqueue_input(), _rt_destroy_state(), _rt_init_state(), _rt_queue_pop_locked(), and _rt_queue_push_locked().

◆ ring_capacity

guint drawlayer_rt_worker_t::ring_capacity

Max events in ring.

Definition at line 67 of file worker.c.

Referenced by _enqueue_input(), _rt_init_state(), _rt_queue_full(), _rt_queue_pop_locked(), and _rt_queue_push_locked().

◆ ring_count

◆ ring_head

guint drawlayer_rt_worker_t::ring_head

Pop index.

Definition at line 68 of file worker.c.

Referenced by _rt_queue_clear_locked(), and _rt_queue_pop_locked().

◆ ring_tail

guint drawlayer_rt_worker_t::ring_tail

Push index.

Definition at line 69 of file worker.c.

Referenced by _enqueue_input(), _rt_queue_clear_locked(), and _rt_queue_push_locked().

◆ state

◆ stop

gboolean drawlayer_rt_worker_t::stop

◆ thread

pthread_t drawlayer_rt_worker_t::thread

POSIX worker thread handle.

Definition at line 64 of file worker.c.

Referenced by _start_worker(), and _stop_worker().

◆ thread_started

gboolean drawlayer_rt_worker_t::thread_started

TRUE once thread is owned by this worker.

Definition at line 65 of file worker.c.

Referenced by _start_worker(), _stop_worker(), and _worker_is_started().


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