CPAL Playground


for ms or try the desktop editor with advanced diagram views

Quiet mode disabled
[0.000000000000:ASSIGN] Assign cpal_system new value: Scheduling_Policy.FIFO
[0.000000000000:self_continue:STARTING_TASK] 'p1'
[0.000000000000:STATE] process "Simple", instance "p1", state "First"
[0.000000000000:PRINTLN] Time 0  - executing state First
[0.000000000000:STATE] process "Simple", instance "p1", state "Second"
[0.000000000000:PRINTLN] Time 0 - Executing state Second
[0.000000000000:self_continue:TASK_FINISHED] 'p1'
[1.000000000000:self_continue:STARTING_TASK] 'p1'
[1.000000000000:STATE] process "Simple", instance "p1", state "Third"
[1.000000000000:PRINTLN] Time 1s - Executing state Third
[1.000000000000:self_continue:TASK_FINISHED] 'p1'
[2.000000000000:self_continue:STARTING_TASK] 'p1'
[2.000000000000:STATE] process "Simple", instance "p1", state "First"
[2.000000000000:PRINTLN] Time 2s  - executing state First
[2.000000000000:STATE] process "Simple", instance "p1", state "Second"
[2.000000000000:PRINTLN] Time 2s - Executing state Second
[2.000000000000:self_continue:TASK_FINISHED] 'p1'
[3.000000000000:self_continue:STARTING_TASK] 'p1'
[3.000000000000:STATE] process "Simple", instance "p1", state "Third"
[3.000000000000:PRINTLN] Time 3s - Executing state Third
[3.000000000000:self_continue:TASK_FINISHED] 'p1'
EXIT (SUCCESS) AT 3s (3000000000000)