NAME

src/pmc/schedulermessage.pmc - Scheduler messages

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 Hash PMC with any or all of the keys:
id
An Integer representing the unique identifier for this scheduler message.
type
A String representing the unique type for this scheduler message.
data
An PMC representing the data passed in this scheduler message.
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.*info is the visit info, (see include/parrot/pmc_freeze.h).
void freeze(PMC *info)
Used to archive the scheduler message.
void thaw(PMC *info)
Used to unarchive the scheduler message.

SEE ALSO

docs/pdds/pdd25_concurrency.pod.