diff options
-rw-r--r-- | coro.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |