cvs commit: src/lib/libthread_xu/arch/amd64/amd64 pthread_md.c src/lib/libthread_xu/arch/i386/i386 pthread_md.c
Joerg Sonnenberger
joerg at crater.dragonflybsd.org
Thu Apr 28 11:22:35 PDT 2005
joerg 2005/04/28 11:22:13 PDT
DragonFly src repository
Modified files:
lib/libthread_xu/arch/amd64/amd64 pthread_md.c
lib/libthread_xu/arch/i386/i386 pthread_md.c
Log:
For the initial thread, rtld has already created the TCB and TLS storage.
Use this. For all other threads allocate it. The TCB itself must not be
NULL, so we don't have to check for it.
Revision Changes Path
1.5 +5 -12 src/lib/libthread_xu/arch/amd64/amd64/pthread_md.c
1.8 +5 -12 src/lib/libthread_xu/arch/i386/i386/pthread_md.c
http://www.dragonflybsd.org/cvsweb/src/lib/libthread_xu/arch/amd64/amd64/pthread_md.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libthread_xu/arch/i386/i386/pthread_md.c.diff?r1=1.7&r2=1.8&f=u
More information about the Commits
mailing list