spencersalazar / chuck

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shred.running()

briansorahan opened this issue · comments

This code does not do what I would expect:

function void foo() {
    Event bar;
    bar => now;
}

spork ~ foo() @=> Shred @ s;

1::ms => now;
if (! s.running()) {
    cherr <= "Oh no!!" <= IO.newline();
}

This may be a very minor bug because Shred.done() seems to work as I would expect.