ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Coro/State.xs
(Generate patch)

Comparing Coro/Coro/State.xs (file contents):
Revision 1.134 by root, Thu Jan 4 23:49:27 2007 UTC vs.
Revision 1.136 by root, Fri Jan 12 01:05:55 2007 UTC

112#else 112#else
113# define LOCK (void)0 113# define LOCK (void)0
114# define UNLOCK (void)0 114# define UNLOCK (void)0
115#endif 115#endif
116 116
117/* helper storage struct for Coro::AIO */
117struct io_state 118struct io_state
118{ 119{
119 int errorno; 120 int errorno;
120 I32 laststype; 121 I32 laststype;
121 int laststatval; 122 int laststatval;
1204 break; 1205 break;
1205 } 1206 }
1206 1207
1207 BARRIER; 1208 BARRIER;
1208 TRANSFER (ta); 1209 TRANSFER (ta);
1210
1211 if (GIMME_V != G_VOID && ta.next != ta.prev)
1212 XSRETURN_YES;
1209} 1213}
1210 1214
1211bool 1215bool
1212_destroy (SV *coro_sv) 1216_destroy (SV *coro_sv)
1213 CODE: 1217 CODE:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines