Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/uinit.c

    r1871118 r5a5269d  
    5656void uinit(void *arg)
    5757{
     58        /*
     59         * So far, we don't have a use for joining userspace threads so we
     60         * immediately detach each uinit thread. If joining of userspace threads
     61         * is required, some userspace API based on the kernel mechanism will
     62         * have to be implemented. Moreover, garbage collecting of threads that
     63         * didn't detach themselves and nobody else joined them will have to be
     64         * deployed for the event of forceful task termination.
     65         */
     66        thread_detach(THREAD);
     67
    5868#ifdef CONFIG_UDEBUG
    5969        udebug_stoppable_end();
Note: See TracChangeset for help on using the changeset viewer.