| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
From Christian Schulte (cs at schulte.it)
- Use stack->sp instead of recalculating it. From guenther@
okay guenther@
|
|
|
|
|
|
|
|
|
|
|
| |
don't try to merge values, round the sizes separately, and don't try to
unmap application-supplied stacks.
Copy from uthread the caching of default-sized stacks.
Have pthread_attr_init() and pthread_create() get the default attributes
from staticly allocated pthread_attr_t.
Cache the pagesize in _rthread_init() and provide a macro for rounding to it
based on suggestions from kettenis@ and tedu@, ok kettenis@
|
|
|
|
| |
so prefer it for identifying the current thread
|
|
|
|
| |
pthread_stackseg_np(). With input and okay marc@
|
|
|
|
| |
pthreads header changed, char * -> const char *
|
|
|
|
| |
ok tedu@ marc@
|
|
|
|
| |
and fix a bug in thread creation error path. ok tedu@
|
|
pthread_stackseg_np(), from existing pthread lib.
discussed with tedu@ ok marc@
|