HELPLIB.HLB  —  POSIX Threads, PTHREAD routines, pthread_attr_setdetachstate, Arguments
 attr

    Thread attributes object to be modified.

 detachstate

    New value for the detachstate attribute. Valid values are as
    follows:

    PTHREAD_CREATE_       This is the default value. Threads are
    JOINABLE              created in "undetached" state.
    PTHREAD_CREATE_       The created thread is detached immediately,
    DETACHED              before it begins running.
Close Help