You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use case: I have a highly parallelized and computationally intensive series of jobs that completely saturate the default ForkJoinPool for a few dozen seconds. However, I want to notify the user of current progress via a ticker that uses delay. Currently, the ticker gets stuck waiting for all the other jobs to finish before it can proceed because the pool is saturated.
Workaround: create a seperate single thread dispatcher that does its own thing. This isn't a bad solution, but it took me a half-hour to figure out why the default dispatcher wasn't working.
The text was updated successfully, but these errors were encountered:
Use case: I have a highly parallelized and computationally intensive series of jobs that completely saturate the default
ForkJoinPool
for a few dozen seconds. However, I want to notify the user of current progress via a ticker that usesdelay
. Currently, the ticker gets stuck waiting for all the other jobs to finish before it can proceed because the pool is saturated.Workaround: create a seperate single thread dispatcher that does its own thing. This isn't a bad solution, but it took me a half-hour to figure out why the default dispatcher wasn't working.
The text was updated successfully, but these errors were encountered: