summaryrefslogtreecommitdiff
path: root/libthreads/cthread_internals.h
AgeCommit message (Collapse)Author
2011-10-20Merge branch 'tls/libthreads'Thomas Schwinge
Conflicts: libthreads/ChangeLog
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.
2007-06-142007-06-14 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* cthread_internals.h (cproc_block): Add prototype.
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.
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* cthread_internals.h: int -> void * for `busy' member. * cprocs.c (cthread_mach_msg): Don't cast to int when setting it. * cprocs.c (cthread_mag_active): Likewise.
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.
1995-08-29(cproc_block): Provide decl.Michael I. Bushnell
1994-05-05entered into RCSRoland McGrath
1992-10-06Initial revisionMichael I. Bushnell