aboutsummaryrefslogtreecommitdiff
path: root/libthreads/stack.c
Commit message (Collapse)AuthorAgeFilesLines
* libthreads: RemoveSamuel Thibault2020-11-111-424/+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.
* Always enable stack red zoneSamuel Thibault2012-07-081-4/+4
| | | | | * libthreads/stack.c (setup_stack): Always enable disabling access to end of stack. Add support for stacks growing up.
* 2002-07-29 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-07-291-1/+27
| | | | | | * stack.c (stack_init): Put back in setting of the __hurd_threadvar_stack_mask and __hurd_threadvar_stack_offset variables (which got lost in the merge).
* 2002-05-26 Roland McGrath <roland@frob.com>Roland McGrath2002-05-271-66/+36
| | | | | | | | | | | | | Changes merged from CMU MK83a version: * cthreads.h, options.h: Various cleanups. * call.c, cthread_data.c, sync.c, mig_support.c, stack.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-03-31 Roland McGrath <roland@frob.com>Roland McGrath2001-03-311-7/+12
| | | | | | | | | | * 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.
* (__hurd_threadvar_stack_mask, __hurd_threadvar_stack_offset,Miles Bader1997-02-201-3/+8
| | | | | __hurd_threadvar_max): Make extern.
* (addr_range_check, probe_stack): Functions #if 0'd out.Roland McGrath1995-12-101-25/+40
| | | | | (stack_init): Don't call probe_stack or frob old stack at all. Default cthread_stack_size to 16 pages if it is zero.
* entered into RCSRoland McGrath1994-05-051-5/+11
|
* Formerly stack.c.~3~Michael I. Bushnell1994-05-041-0/+1
|
* Formerly stack.c.~2~Roland McGrath1994-05-041-1/+15
|
* Initial revisionMichael I. Bushnell1992-10-061-0/+382