jack_client_create_thread

Create a thread for JACK or one of its clients. The thread is created executing @a start_routine with @a arg as its sole argument.

@param client the JACK client for whom the thread is being created. May be NULL if the client is being created within the JACK server. @param thread place to return POSIX thread ID. @param priority thread priority, if realtime. @param realtime true for the thread to use realtime scheduling. On some systems that may require special privileges. @param start_routine function the thread calls when it starts. @param arg parameter passed to the @a start_routine.

@returns 0, if successful; otherwise some error number.

extern (C)
int
jack_client_create_thread
(
jack_client_t* client
,
jack_native_thread_t* thread
,,,
void* function
(
void*
)
start_routine
,
void* arg
)

Meta