NAME
src/pmc/schedulermessage.pmc - The concurrency scheduler
DESCRIPTION
Implements a message passed between concurrency schedulers.
Vtable Functions
void init()
Initialize a concurrency scheduler message object.
void init_pmc(PMC *data)
Initializes a new SchedulerMessage with a id
An type
A data
An INTVAL get_integer()
Retrieve the message ID.
void set_integer_native(INTVAL value)
Set the message ID.
STRING * get_string()
Retrieve the message type.
void set_string_native(STRING *value)
Set the message type.
PMC *share_ro()
Set this PMC as shared.
void destroy()
Free the scheduler's underlying struct.
void mark()
Mark any referenced strings and PMCs.
void visit(visit_info *info)
This is used by freeze/thaw to visit the contents of the scheduler message.void freeze(visit_info *info)
Used to archive the scheduler message.
void thaw(visit_info *info)
Used to unarchive the scheduler message.
Hash
PMC with any or all of the keys:
Integer
representing the unique identifier for this scheduler message.
String
representing the unique type for this scheduler message.
PMC
representing the data passed in this scheduler message.*info
is the visit info,
(see include/parrot/pmc_freeze.h).