From e67a54d9b79d17dd9b4309570d19e6bdc170626c Mon Sep 17 00:00:00 2001 From: root Date: Fri, 3 Dec 2010 20:01:34 +0000 Subject: *** empty log message *** --- coro.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/coro.c b/coro.c index a9137f3..cd79d58 100644 --- a/coro.c +++ b/coro.c @@ -212,8 +212,8 @@ coro_create (coro_context *ctx, coro_func coro, void *arg, void *sptr, long ssiz } /* set the new stack */ - nstk.ss_sp = STACK_ADJUST_PTR (sptr,ssize); /* yes, some platforms (IRIX) get this wrong. */ - nstk.ss_size = STACK_ADJUST_SIZE (sptr,ssize); + nstk.ss_sp = STACK_ADJUST_PTR (sptr, ssize); /* yes, some platforms (IRIX) get this wrong. */ + nstk.ss_size = STACK_ADJUST_SIZE (sptr, ssize); nstk.ss_flags = 0; if (sigaltstack (&nstk, &ostk) < 0) @@ -405,7 +405,8 @@ coro_create (coro_context *ctx, coro_func coro, void *arg, void *sptr, long ssiz pthread_attr_init (&attr); #if __UCLIBC__ - pthread_attr_setstacksize (&attr, (size_t)ssize); + /* exists, but is borked */ + /*pthread_attr_setstacksize (&attr, (size_t)ssize);*/ #else pthread_attr_setstack (&attr, sptr, (size_t)ssize); #endif -- cgit v1.2.3