Carl Lerche 4af6109398
Fix bug related to spawning optimization (#375)
The thread pool optimizes cases where a task currently running on the
pool spawns a new future. However, the optimization did not factor in
cases where two thread pools interacted.

This patch fixes the optimization and includes a test.

Fixes #342
2018-05-24 22:06:32 -07:00
..
2018-05-08 11:44:17 -07:00
2018-04-15 12:29:22 -07:00