parrotcode: The concurrency scheduler | |
Contents | PMCs |
src/pmc/schedulermessage.pmc - The concurrency scheduler
Implements a message passed between concurrency schedulers.
void init()
void init_pmc(PMC *data)
Hash
PMC with any or all of the keys:
id
Integer
representing the unique identifier for this scheduler message.
type
String
representing the unique type for this scheduler message.
data
PMC
representing the data passed in this scheduler message.INTVAL get_integer()
void set_integer_native(INTVAL value)
STRING *get_string()
void set_string_native(STRING *value)
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)
|