digiKam
|
Go to the source code of this file.
Classes | |
class | de265_progress_lock |
class | thread_pool |
class | thread_task |
Macros | |
#define | MAX_THREADS 32 |
Typedefs | |
typedef pthread_cond_t | de265_cond |
typedef pthread_mutex_t | de265_mutex |
typedef pthread_t | de265_thread |
Functions | |
void | add_task (thread_pool *pool, thread_task *task) |
void | de265_cond_broadcast (de265_cond *c, de265_mutex *m) |
void | de265_cond_destroy (de265_cond *c) |
void | de265_cond_init (de265_cond *c) |
void | de265_cond_signal (de265_cond *c) |
void | de265_cond_wait (de265_cond *c, de265_mutex *m) |
void | de265_mutex_destroy (de265_mutex *m) |
void | de265_mutex_init (de265_mutex *m) |
void | de265_mutex_lock (de265_mutex *m) |
void | de265_mutex_unlock (de265_mutex *m) |
int | de265_thread_create (de265_thread *t, void *(*start_routine)(void *), void *arg) |
void | de265_thread_destroy (de265_thread *t) |
void | de265_thread_join (de265_thread t) |
de265_error | start_thread_pool (thread_pool *pool, int num_threads) |
void | stop_thread_pool (thread_pool *pool) |
#define MAX_THREADS 32 |
typedef pthread_cond_t de265_cond |
typedef pthread_mutex_t de265_mutex |
typedef pthread_t de265_thread |
void add_task | ( | thread_pool * | pool, |
thread_task * | task | ||
) |
void de265_cond_broadcast | ( | de265_cond * | c, |
de265_mutex * | m | ||
) |
void de265_cond_destroy | ( | de265_cond * | c | ) |
void de265_cond_init | ( | de265_cond * | c | ) |
void de265_cond_signal | ( | de265_cond * | c | ) |
void de265_cond_wait | ( | de265_cond * | c, |
de265_mutex * | m | ||
) |
void de265_mutex_destroy | ( | de265_mutex * | m | ) |
void de265_mutex_init | ( | de265_mutex * | m | ) |
void de265_mutex_lock | ( | de265_mutex * | m | ) |
void de265_mutex_unlock | ( | de265_mutex * | m | ) |
int de265_thread_create | ( | de265_thread * | t, |
void *(*)(void *) | start_routine, | ||
void * | arg | ||
) |
void de265_thread_destroy | ( | de265_thread * | t | ) |
void de265_thread_join | ( | de265_thread | t | ) |
de265_error start_thread_pool | ( | thread_pool * | pool, |
int | num_threads | ||
) |
void stop_thread_pool | ( | thread_pool * | pool | ) |