ardour
|
#include <pthread.h>
#include <signal.h>
#include <string>
#include <stdint.h>
#include "pbd/libpbd_visibility.h"
#include "pbd/signals.h"
Go to the source code of this file.
Namespaces | |
PBD | |
Macros | |
#define | PTHREAD_MACROS_DEFINED |
#define | mark_pthread_inactive(threadID) threadID=0 |
#define | is_pthread_active(threadID) threadID!=0 |
Functions | |
LIBPBD_API int | pthread_create_and_store (std::string name, pthread_t *thread, void *(*start_routine)(void *), void *arg) |
LIBPBD_API void | pthread_cancel_one (pthread_t thread) |
LIBPBD_API void | pthread_cancel_all () |
LIBPBD_API void | pthread_kill_all (int signum) |
LIBPBD_API const char * | pthread_name () |
LIBPBD_API void | pthread_set_name (const char *name) |
LIBPBD_API void | PBD::notify_gui_about_thread_creation (std::string, pthread_t, std::string, int requests=256) |
Variables | |
LIBPBD_API PBD::Signal4< void, std::string, pthread_t, std::string, uint32_t > | PBD::ThreadCreatedWithRequestSize |
#define is_pthread_active | ( | threadID | ) | threadID!=0 |
Definition at line 34 of file pthread_utils.h.
#define mark_pthread_inactive | ( | threadID | ) | threadID=0 |
Definition at line 33 of file pthread_utils.h.
#define PTHREAD_MACROS_DEFINED |
Definition at line 28 of file pthread_utils.h.
LIBPBD_API void pthread_cancel_all | ( | ) |
Definition at line 169 of file pthread_utils.cc.
LIBPBD_API void pthread_cancel_one | ( | pthread_t | thread | ) |
Definition at line 189 of file pthread_utils.cc.
LIBPBD_API int pthread_create_and_store | ( | std::string | name, |
pthread_t * | thread, | ||
void *(*)(void *) | start_routine, | ||
void * | arg | ||
) |
LIBPBD_API void pthread_kill_all | ( | int | signum | ) |
Definition at line 156 of file pthread_utils.cc.
LIBPBD_API const char* pthread_name | ( | ) |
Definition at line 145 of file pthread_utils.cc.
LIBPBD_API void pthread_set_name | ( | const char * | name | ) |
Definition at line 137 of file pthread_utils.cc.