summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_stack.c
Commit message (Collapse)AuthorAgeFilesLines
* Undo namespace pollution by prefixing the globals pthread_guard_default andalfred2002-05-151-13/+16
| | | | | | | | pthread_page_size. Fix a bunch line wrapping. Pointed out by: deischen
* Don't use PAGE_SIZE in userland, instead use getpagesize(), this is toalfred2002-05-131-10/+10
| | | | | | | allow running on other arches when the instructions are supported but the page size granularity is not. Glanced at by: peter
* Make libc_r check the kern.usrstack sysctl instead of using internalpeter2001-10-261-3/+5
| | | | | | | kernel #defines to figure out where the stack is located. This stops libc_r from exploding when the kernel is compiled with a different KVM size. IMHO this is all kinda bogus, it would be better to just check %esp and work from that.
* Implement pthread_attr_[gs]etguardsize(). Non-default-size stacks used tojasone2001-07-201-0/+235
be malloc()ed, but they are now allocated using mmap(), just as the default-size stacks are. A separate cache of stacks is kept for non-default-size stacks. Collaboration with: deischen
OpenPOWER on IntegriCloud