active-group / chemicl

A reagents implementation in Clojure
Eclipse Public License 1.0
1 stars 0 forks source link

Reactor-based timeouts #2

Open markusschlegel opened 5 years ago

markusschlegel commented 5 years ago

Each timeout command currently spawns a new (waiting) thread. We can implement a single reactor event loop that handles all timeouts.

dfrese commented 5 years ago

I commited a change that uses a ScheduledExecutorService for both delayed and non-delayed task. So this is maybe obsolete?