2.14.1. thread_CreateThread

[<<<] [>>>]

@c Create a new thread

This is a simplified implementation of the create thread interface.

The function creates a new @b{detached} thread. If the thread can not be created for some reason the return value is the error code returned by the system call pthread_start on UNIX or GetLastError on NT.

If the thread was started the return value is 0.

int thread_CreateThread(PTHREADHANDLE pThread,
                      void *pStartFunction,
                      void *pThreadParameter
The arguments
[<<<] [>>>]