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

Comparing libcoro/coro.c (file contents):
Revision 1.54 by root, Fri Dec 3 20:01:34 2010 UTC vs.
Revision 1.55 by root, Mon May 30 02:21:54 2011 UTC

305 *--ctx->sp = (char *)sptr + ssize; /* StackBase */ 305 *--ctx->sp = (char *)sptr + ssize; /* StackBase */
306 *--ctx->sp = sptr; /* StackLimit */ 306 *--ctx->sp = sptr; /* StackLimit */
307 #endif 307 #endif
308 308
309 ctx->sp -= NUM_SAVED; 309 ctx->sp -= NUM_SAVED;
310 memset (ctx->sp, 0, sizeof (*ctx->sp) * NUM_SAVED);
310 311
311# elif CORO_UCONTEXT 312# elif CORO_UCONTEXT
312 313
313 getcontext (&(ctx->uc)); 314 getcontext (&(ctx->uc));
314 315

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines