Because many parts of the operating system are not yet thread safe, not every job can start threads. The pthread_create() API fails with the EBUSY error when the process is not allowed to create threads. See Running threaded programs for information about how to start a job that can create threads.
Pthread APIs | APIs by category |