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.202 by root, Mon Oct 8 02:50:23 2007 UTC vs.
Revision 1.203 by root, Mon Oct 8 03:02:00 2007 UTC

221 221
222 /* process data */ 222 /* process data */
223 AV *mainstack; 223 AV *mainstack;
224 perl_slots *slot; /* basically the saved sp */ 224 perl_slots *slot; /* basically the saved sp */
225 225
226 /* data associated with this coroutine (initial args) */ 226 AV *args; /* data associated with this coroutine (initial args) */
227 AV *args; 227 int refcnt; /* coroutines are refcounted, yes */
228 int refcnt;
229 int flags; /* CF_ flags */ 228 int flags; /* CF_ flags */
229 HV *hv; /* the perl hash associated with this coro, if any */
230 230
231 /* statistics */ 231 /* statistics */
232 int usecount; /* number of transfers to this coro */ 232 int usecount; /* number of transfers to this coro */
233 233
234 /* coro process data */ 234 /* coro process data */
235 int prio; 235 int prio;
236 SV *throw; 236 SV *throw; /* exception to be thrown */
237 237
238 /* async_pool */ 238 /* async_pool */
239 SV *saved_deffh; 239 SV *saved_deffh;
240 240
241 /* linked list */ 241 /* linked list */
242 struct coro *next, *prev; 242 struct coro *next, *prev;
243 HV *hv; /* the perl hash associated with this coro, if any */
244}; 243};
245 244
246typedef struct coro *Coro__State; 245typedef struct coro *Coro__State;
247typedef struct coro *Coro__State_or_hashref; 246typedef struct coro *Coro__State_or_hashref;
248 247

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines