orc-lang / orc

Orc programming language implementation
https://orc.csres.utexas.edu/
BSD 3-Clause "New" or "Revised" License
40 stars 3 forks source link

schedule blocked futures, instead of stage them #194

Closed jthywiss closed 7 years ago

jthywiss commented 7 years ago

Need to be able to bind futures from a non-Orc scheduler thread

This change needs to be reviewed by @arthurp

arthurp commented 7 years ago

I believe this is safe. No rescheduling problems can happen since the tokens awakened cannot be the token that bound the future.

LGTM