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.
void mark()
Mark any referenced strings and PMCs.
void visit(PMC *info)
This is used by freeze/thaw to visit the contents of the scheduler message.void freeze(PMC *info)
Used to archive the scheduler message.
void thaw(PMC *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).
SEE ALSO
docs/pdds/pdd25_concurrency.pod.