|
Create a thread for JACK or one of its clients. The thread is created executing start_routine with arg as its sole argument.
- Parameters:
-
| client | the JACK client for whom the thread is being created. May be NULL if the client is being created within the JACK server. |
| thread | place to return POSIX thread ID. |
| priority | thread priority, if realtime. |
| realtime | true for the thread to use realtime scheduling. On some systems that may require special privileges. |
| start_routine | function the thread calls when it starts. |
| arg | parameter passed to the start_routine. |
- Returns:
- 0, if successful; otherwise some error number.
|