aboutsummaryrefslogtreecommitdiff
path: root/libthreads/i386/thread.c
Commit message (Collapse)AuthorAgeFilesLines
* libthreads: RemoveSamuel Thibault2020-11-111-135/+0
| | | | | | | | | | | | | | | libthreads is most probably completely broken, and not the long-term road anyway. * config.make.in (VERSIONING): Remove. * configure.ac: Test for pfinet assembly compatibility instead of libthreads assembly compatibility. Do not set VERSIONING. * libthreads: Remove directory. * Makefile (lib-subdirs): Remove libthreads. * doc/hurd.texi (Threads Library): Rename references to libthreads into libpthread. * release/rfloppy.copy: Do not objcopy lib/libthreads.so. * release/tool-Makefile (rfloppy-solib): Remove libthreads.
* TLS support for libthreads.Samuel Thibault2011-10-201-3/+29
| | | | | | | | | | | * 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-26 Roland McGrath <roland@frob.com>Roland McGrath2002-05-271-46/+17
| | | | | | | | | | | | | 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-22 Roland McGrath <roland@frob.com>Roland McGrath2001-12-221-4/+14
| | | | * i386/thread.c (cthread_sp): Use __thread_stack_pointer.
* 2001-03-31 Roland McGrath <roland@frob.com>Roland McGrath2001-03-311-2/+8
| | | | | | | | | | | * 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-25 Roland McGrath <roland@frob.com>Roland McGrath2001-02-261-19/+18
| | | | | * i386/thread.c: Remove superfluous bzero decl, just include <strings.h> instead.
* (cproc_setup):Miles Bader1997-02-181-3/+12
| | | | | Correctly leave space at top of stack for account for GNU per-thread variables.
* entered into RCSMichael I. Bushnell1994-05-041-3/+3
|
* Initial revisionMichael I. Bushnell1992-10-061-0/+114