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.188 by root, Fri Oct 5 20:36:31 2007 UTC vs.
Revision 1.189 by root, Fri Oct 5 20:38:43 2007 UTC

132static AV *main_mainstack; /* used to differentiate between $main and others */ 132static AV *main_mainstack; /* used to differentiate between $main and others */
133static JMPENV *main_top_env; 133static JMPENV *main_top_env;
134static HV *coro_state_stash, *coro_stash; 134static HV *coro_state_stash, *coro_stash;
135static SV *coro_mortal; /* will be freed after next transfer */ 135static SV *coro_mortal; /* will be freed after next transfer */
136 136
137static GV *irsgv; /* $/ */ 137static GV *irsgv; /* $/ */
138static GV *stdoutgv; /* STDOUT */ 138static GV *stdoutgv; /* *STDOUT */
139 139
140/* async_pool helper stuff */ 140/* async_pool helper stuff */
141static SV *sv_pool_rss; 141static SV *sv_pool_rss;
142static SV *sv_pool_size; 142static SV *sv_pool_size;
143static AV *av_async_pool; 143static AV *av_async_pool;
1378#ifdef USE_ITHREADS 1378#ifdef USE_ITHREADS
1379 MUTEX_INIT (&coro_mutex); 1379 MUTEX_INIT (&coro_mutex);
1380#endif 1380#endif
1381 BOOT_PAGESIZE; 1381 BOOT_PAGESIZE;
1382 1382
1383 irsgv = gv_fetchpv ("/" , GV_ADD|GV_NOTQUAL, SVt_PV); 1383 irsgv = gv_fetchpv ("/" , GV_ADD, SVt_PV);
1384 stdoutgv = gv_fetchpv ("STDOUT", GV_ADD|GV_NOTQUAL, SVt_PVIO); 1384 stdoutgv = gv_fetchpv ("STDOUT", GV_ADD, SVt_PVIO);
1385 1385
1386 coro_state_stash = gv_stashpv ("Coro::State", TRUE); 1386 coro_state_stash = gv_stashpv ("Coro::State", TRUE);
1387 1387
1388 newCONSTSUB (coro_state_stash, "CC_TRACE" , newSViv (CC_TRACE)); 1388 newCONSTSUB (coro_state_stash, "CC_TRACE" , newSViv (CC_TRACE));
1389 newCONSTSUB (coro_state_stash, "CC_TRACE_SUB" , newSViv (CC_TRACE_SUB)); 1389 newCONSTSUB (coro_state_stash, "CC_TRACE_SUB" , newSViv (CC_TRACE_SUB));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines