CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2013/11/29 09:27:40
Modified files: lib/librthread : rthread_fork.c rthread_np.c rthread.c rthread.h Log message: Don't try to reuse _initial_thread in the fork() wrapper, as the thread's existing handle must continue to be valid and it didn't fully 'change' the thread handle anyway. For pthread_main_np(), use a new flag, THREAD_ORIGINAL, to indicate that the flagged thread is the original thread for *this* process. Fixes some ConsoleKit failures according to aja@