test/exit_group/main.c
static void *sleeping_thread_func(void *_) {
    unsigned int a_year_in_sec = 365 * 24 * 60 * 60;
    sleep(a_year_in_sec);
    return NULL;
}
// Type 2: a sleeping thread
Type 2: a sleeping thread
Type 2 : a sleeping thread
static void *sleeping_thread_func(void *_) {
    unsigned int a_year_in_sec = 365 * 24 * 60 * 60;
    sleep(a_year_in_sec);
    return NULL;
}
static void * sleeping_thread_func ( void * _ ) { unsigned int a_year_in_sec = 365 * 24 * 60 * 60 ; sleep ( a_year_in_sec ) ; return NULL ; }
Type 2: a sleeping thread
Type 2 : a sleeping thread