On Fri, Nov 29, 2013 at 09:27:40AM -0700, Philip Guenther wrote: > 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@
I've also been running with this on one machine for a good while and haven't seen any issues.