20#ifndef __jack_thread_h__
21#define __jack_thread_h__
28#include <jack/systemdeps.h>
29#include <jack/weakmacros.h>
33#define THREAD_STACK 524288
92 jack_native_thread_t *thread,
95 void *(*start_routine)(
void*),
96 void *arg) JACK_OPTIONAL_WEAK_EXPORT;
127 typedef int (*jack_thread_creator_t)(pthread_t*,
128 const pthread_attr_t*,
129 void* (*function)(
void*),
int jack_drop_real_time_scheduling(jack_native_thread_t thread) JACK_OPTIONAL_WEAK_EXPORT
void jack_set_thread_creator(jack_thread_creator_t creator) JACK_OPTIONAL_WEAK_EXPORT
int jack_client_stop_thread(jack_client_t *client, jack_native_thread_t thread) JACK_OPTIONAL_WEAK_EXPORT
int jack_client_real_time_priority(jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT
int jack_client_create_thread(jack_client_t *client, jack_native_thread_t *thread, int priority, int realtime, void *(*start_routine)(void *), void *arg) JACK_OPTIONAL_WEAK_EXPORT
int jack_client_max_real_time_priority(jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT
int jack_client_kill_thread(jack_client_t *client, jack_native_thread_t thread) JACK_OPTIONAL_WEAK_EXPORT
int jack_acquire_real_time_scheduling(jack_native_thread_t thread, int priority) JACK_OPTIONAL_WEAK_EXPORT