SILC Core Library SILC Auth API SILC Channel API SILC Command API SILC ID API SILC ID Cache API SILC Modes SILC Notify API SILC Packet API SILC Argument API SILC Private API SILC Math Library SILC Math API SILC MP API SILC SFTP Library SILC SFTP API SILC SFTP Filesystems SILC Utility Library SILC Buffer API SILC Buffer Format API SILC Buffer Utility API SILC Hash Table API SILC Log and Debug API SILC Memory API SILC Mutex API SILC Thread API SILC Net API SILC Schedule API SILC Socket Connection API SILC Protocol API SILC Util API SILC Zip API SILC List API SILC Dynamic List API SILC Key Exchange Library SILC SKE API SILC SKE Status SILC Client Library SILC Client API SILC Crypto Library SILC Cipher API SILC Hash API SILC HMAC API SILC PKCS API SILC RNG API
Function silc_thread_create SYNOPSIS
        SilcThread silc_thread_create(SilcThreadStart start_func, void *context);
DESCRIPTION
        Creates a new thread. The `start_func' with `context' will be
        called if the thread was created. This function returns a pointer
        to the thread or NULL if the thread could not be created.  All
        resources of the returned pointer is freed automatically when the
        thread exits.

        If the `waitable' is set to TRUE then another thread can wait
        this thread's destruction with silc_thread_wait. If it is set to
        FALSE the thread is not waitable.
NOTES
        If the `waitable' is TRUE the thread's resources are not freed
        when it exits until another thread has issued silc_thread_wait.
        If the `waitable' is TRUE then another thread must always issue
        silc_thread_wait to avoid memory leaks.
>> SilcThreadAPI >> SilcThread >> SilcThreadStart >> silc_thread_create >> silc_thread_exit >> silc_thread_self >> silc_thread_wait