ardour
|
#include <set>
#include <string>
#include <cstring>
#include <stdint.h>
#include "pbd/pthread_utils.h"
Go to the source code of this file.
Classes | |
struct | ThreadStartWithName |
Namespaces | |
PBD | |
Typedefs | |
typedef std::list< pthread_t > | ThreadMap |
Functions | |
static Glib::Threads::Private < char > | thread_name (free) |
static int | thread_creator (pthread_t *thread_id, const pthread_attr_t *attr, void *(*function)(void *), void *arg) |
static void * | fake_thread_start (void *arg) |
int | pthread_create_and_store (string name, pthread_t *thread, void *(*start_routine)(void *), void *arg) |
void | pthread_set_name (const char *str) |
const char * | pthread_name () |
void | pthread_kill_all (int signum) |
void | pthread_cancel_all () |
void | pthread_cancel_one (pthread_t thread) |
Variables | |
static ThreadMap | all_threads |
static pthread_mutex_t | thread_map_lock = PTHREAD_MUTEX_INITIALIZER |
typedef std::list<pthread_t> ThreadMap |
Definition at line 41 of file pthread_utils.cc.
|
static |
Definition at line 77 of file pthread_utils.cc.
void pthread_cancel_all | ( | ) |
Definition at line 169 of file pthread_utils.cc.
void pthread_cancel_one | ( | pthread_t | thread | ) |
Definition at line 189 of file pthread_utils.cc.
int pthread_create_and_store | ( | string | name, |
pthread_t * | thread, | ||
void *(*)(void *) | start_routine, | ||
void * | arg | ||
) |
Definition at line 114 of file pthread_utils.cc.
void pthread_kill_all | ( | int | signum | ) |
Definition at line 156 of file pthread_utils.cc.
const char* pthread_name | ( | ) |
Definition at line 145 of file pthread_utils.cc.
void pthread_set_name | ( | const char * | str | ) |
Definition at line 137 of file pthread_utils.cc.
|
static |
Definition at line 52 of file pthread_utils.cc.
|
static |
|
static |
Definition at line 42 of file pthread_utils.cc.
|
static |
Definition at line 43 of file pthread_utils.cc.