How to protect a task from being blocked by other background tasks?

Looks like there is a solution to this situation that was recently merged into the 1.9 branch:
https://docs.julialang.org/en/v1.9-dev/manual/multi-threading/#man-threadpools

1 Like