summaryrefslogtreecommitdiff
path: root/pthread/pt-alloc.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2014-01-22 01:15:55 +0100
committerRichard Braun <rbraun@sceen.net>2014-01-22 01:15:55 +0100
commit7c6dc6e28b2fc4b67934223f41cf080ffe58b230 (patch)
treed5789b64fea9c9e7021e1ec9591583d3285109d2 /pthread/pt-alloc.c
parent014966443ac044ca9d53b6bcec6678b9360cba78 (diff)
Fix up the main thread TCB
Unlike other threads, the TCB of the main thread is created by the C library before libpthread is initialized and needs special care. * sysdeps/mach/hurd/i386/pt-setup.c (__pthread_setup): Set the `self' member of the main thread TCB.
Diffstat (limited to 'pthread/pt-alloc.c')
0 files changed, 0 insertions, 0 deletions