Skip to content

Sporking completely broken #493

@pkamenarsky

Description

@pkamenarsky

(Tested in webchuck)

This:

fun void test() {
  <<< "A" >>>;
  0.5::second => now;
  <<< "B" >>>;
  0.5::second => now;
  <<< "C" >>>;
}

fun void test2() {
  for(0 => int i; i < 2; i++) {
    spork ~ test();
    2::second => now;
  }
}

spork ~ test2();
10::second => now;

works as expected:

A
B
C
A
B
C

But change the 2::second => now; line in the loop to 0.5::second => now; and:

A
B
A

Change it to 0.1::second => now; and:

A
A

It needs the elaborate setup afaics, for example not sporking test2 makes it work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions