Module Name: src Committed By: joerg Date: Wed Mar 30 00:03:26 UTC 2011
Modified Files: src/lib/libpthread: pthread.c Log Message: Rework TLS initialisation: - Update TCB for the initial thread in pthread__initthread, not pthread__init to get it valid as soon as possible. - Don't overwrite the pt_tls field in pthread__initthread. - Don't deallocate pt_tls in pthread__scrubthread. This worked more by chance than by design. - Handle freeing the TLS area in pthread_create after removing the thread instance from the dead queue. To generate a diff of this commit: cvs rdiff -u -r1.122 -r1.123 src/lib/libpthread/pthread.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.