| parrotcode: The concurrency scheduler | |
| Contents | PMCs |

src/pmc/scheduler.pmc - The concurrency scheduler

Implements the core concurrency scheduler.

void init()void init_pmc(PMC *data)Hash PMC with any or all of the keys:
idInteger representing the unique identifier for this scheduler.void push_pmc(PMC *value)PMC *pop_pmc()INTVAL get_integer()void delete_keyed_int(INTVAL key)PMC *share_ro()void destroy()void mark()void visit(visit_info *info)*info is the visit info (see include/parrot/pmc_freeze.h).
void freeze(visit_info *info)void thaw(visit_info *info)void thawfinish(visit_info *info)
METHOD add_handler(PMC *handler)METHOD delete_handler(STRING *type :optional, INTVAL have_type :opt_flag)METHOD find_handler(PMC *task)METHOD count_handlers(STRING *type :optional, INTVAL have_type :opt_flag)event,
exception).
If no type argument is passed,
counts all handlers.
|
|
|