kvark / choir

Task Orchestration Framework
MIT License
52 stars 3 forks source link

Hang in join() #19

Closed kvark closed 2 years ago

kvark commented 2 years ago

Sometimes all workers finish their tasks but the caller thread's join() doesn't return. Happened on the parallel test once.

kvark commented 2 years ago

Actually figured what the problem was. The Arc<Notifier> is not unique if there is a RunningTask alive.