Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
global_mutexes.h File Reference
#include "system/dtpthread.h"
+ Include dependency graph for global_mutexes.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

dt_pthread_mutex_t * dt_pipeline_threadsafe_mutex (void)
 

Function Documentation

◆ dt_pipeline_threadsafe_mutex()

dt_pthread_mutex_t * dt_pipeline_threadsafe_mutex ( void  )

Prevents concurrent export/thumbnail pipelines from running at the same time. This buys no throughput – the CPU is the bottleneck and the pixel code is already multi-threaded internally through OpenMP – it bounds peak memory instead.

Definition at line 603 of file darktable.c.

References darktable, and darktable_t::pipeline_threadsafe.

Referenced by dt_dev_pixelpipe_process().