ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libcoro/coro.c
(Generate patch)

Comparing libcoro/coro.c (file contents):
Revision 1.61 by root, Sun Jul 3 10:51:42 2011 UTC vs.
Revision 1.62 by root, Mon Aug 8 22:00:18 2011 UTC

436 436
437 pthread_attr_init (&attr); 437 pthread_attr_init (&attr);
438#if __UCLIBC__ 438#if __UCLIBC__
439 /* exists, but is borked */ 439 /* exists, but is borked */
440 /*pthread_attr_setstacksize (&attr, (size_t)ssize);*/ 440 /*pthread_attr_setstacksize (&attr, (size_t)ssize);*/
441#elif __CYGWIN__
442 /* POSIX, not here */
443 pthread_attr_setstacksize (&attr, (size_t)ssize);
441#else 444#else
442 pthread_attr_setstack (&attr, sptr, (size_t)ssize); 445 pthread_attr_setstack (&attr, sptr, (size_t)ssize);
443#endif 446#endif
444 pthread_attr_setscope (&attr, PTHREAD_SCOPE_PROCESS); 447 pthread_attr_setscope (&attr, PTHREAD_SCOPE_PROCESS);
445 pthread_create (&ctx->id, &attr, coro_init, &args); 448 pthread_create (&ctx->id, &attr, coro_init, &args);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines