CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2011/10/17 00:39:20
Modified files: lib/librthread : Makefile rthread.c rthread.h lib/librthread/arch/alpha: rfork_thread.S lib/librthread/arch/amd64: rfork_thread.S lib/librthread/arch/arm: rfork_thread.S lib/librthread/arch/hppa: rfork_thread.S lib/librthread/arch/i386: rfork_thread.S lib/librthread/arch/m68k: rfork_thread.S lib/librthread/arch/m88k: rfork_thread.S lib/librthread/arch/mips64: rfork_thread.S lib/librthread/arch/powerpc: rfork_thread.S lib/librthread/arch/sh: rfork_thread.S lib/librthread/arch/sparc: rfork_thread.S lib/librthread/arch/sparc64: rfork_thread.S lib/librthread/arch/vax: rfork_thread.S Added files: lib/librthread : __tfork_thread.3 tcb.h lib/librthread/arch/alpha: cerror.S lib/librthread/arch/amd64: cerror.S lib/librthread/arch/arm: cerror.S lib/librthread/arch/i386: cerror.S lib/librthread/arch/m68k: cerror.S lib/librthread/arch/sh: cerror.S lib/librthread/arch/sparc: cerror.S lib/librthread/arch/sparc64: cerror.S lib/librthread/arch/vax: cerror.S Log message: Use __tfork, __get_tcb, and __set_tcb to have a real TCB and per-thread errno. The ASM bits for _cerror are sketchy or missing for some archs but that can be corrected in-tree.