Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dtpthread.c File Reference
#include "control/conf.h"
#include "common/fp_mode.h"
#include <sched.h>
#include <pthread.h>
#include <stdint.h>
#include <stdio.h>
#include <inttypes.h>
#include <glib.h>
+ Include dependency graph for dtpthread.c:

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 

Functions

int dt_pthread_create (pthread_t *thread, void *(*start_routine)(void *), void *arg, const gboolean realtime)
 
void dt_pthread_setname (const char *name)
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 25 of file dtpthread.c.

Function Documentation

◆ dt_pthread_create()

int dt_pthread_create ( pthread_t *  thread,
void *(*)(void *)  start_routine,
void arg,
const gboolean  realtime 
)

Definition at line 45 of file dtpthread.c.

References dt_conf_get_int(), param, and WANTED_THREADS_STACK_SIZE.

Referenced by _start_worker(), and dt_control_jobs_init().

◆ dt_pthread_setname()

void dt_pthread_setname ( const char *  name)