• Pekka Pessi's avatar
    su: added su_root_obtain(), su_root_release() and su_root_has_thread() · 4fb20afe
    Pekka Pessi authored
    When root is created with su_root_create() or cloned with su_clone_start(),
    the resulting root is obtained by the calling or created thread,
    The root can be released with su_root_release() and another thread can
    obtain it.
    The function su_root_has_thread() can be used to check if a thread has
    obtained or released the root.
    Implementation upgraded the su_port_own_thread() method as su_port_thread().
su_pthread_port.c 14.8 KB