CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2012/02/18 14:12:09

Modified files:
        lib/librthread : rthread.c rthread.h rthread_attr.c rthread_np.c 
                         rthread_stack.c 

Log message:
Fix the handling of the stackaddr, stacksize, and guardsize attributes:
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@

Reply via email to