summaryrefslogtreecommitdiff
path: root/libthreads/i386/thread.c
AgeCommit message (Collapse)Author
2011-10-20TLS support for libthreads.Samuel Thibault
* libthreads/cprocs.c (cproc_create): Call into glibc to allocate static TLS block. * libthreads/cthread_internals.h (tcbhead_t): New structure; as in glibc. (cproc_setup): Take TCB parameter. (_dl_allocate_tls): Declare; from glibc. * libthreads/alpha/thread.c (cproc_setup): Compile-time warning for missing TLS support. * libthreads/i386/thread.c (cproc_setup): Imlement TLS support.
2002-05-272002-05-26 Roland McGrath <roland@frob.com>Roland McGrath
Changes merged from CMU MK83a version: * cthreads.h, options.h: Various cleanups. * call.c, cthread_data.c, sync.c, mig_support.c: Likewise. * i386/cthreads.h, i386/thread.c, i386/lock.s: Likewise. * cthread_internals.h: Add decls for internal functions. (struct cproc): Use vm_offset_t for stack_base and stack_size members. Use natural_t for context member. * cprocs.c: Use prototypes for all defns. * cthreads.c: Likewise. (cthread_exit): Cast any_t to integer_t before int.
2001-12-222001-12-22 Roland McGrath <roland@frob.com>Roland McGrath
* i386/thread.c (cthread_sp): Use __thread_stack_pointer.
2001-03-312001-03-31 Roland McGrath <roland@frob.com>Roland McGrath
* cthreads.h: Fix obsolescent #endif syntax. * cthread_internals.h: Likewise. * cancel-cond.c: Likewise. * stack.c: Likewise. * cthreads.c: Likewise. * cprocs.c: Likewise. * call.c: Likewise. * i386/thread.c: Likewise.
2001-02-262001-02-25 Roland McGrath <roland@frob.com>Roland McGrath
* i386/thread.c: Remove superfluous bzero decl, just include <strings.h> instead.
1997-02-18(cproc_setup):Miles Bader
Correctly leave space at top of stack for account for GNU per-thread variables.
1994-05-04entered into RCSMichael I. Bushnell
1992-10-06Initial revisionMichael I. Bushnell