diff options
author | root <root> | 2010-12-03 20:01:34 +0000 |
---|---|---|
committer | root <root> | 2010-12-03 20:01:34 +0000 |
commit | e67a54d9b79d17dd9b4309570d19e6bdc170626c (patch) | |
tree | fe6e182e57e5734864cc398fdee25c00e378b347 | |
parent | 039ff8ce0565fd898d3d0b24c8ce547b5bd8ee30 (diff) |
*** empty log message ***rel-5_37
-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 |