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
Say you have a gui interface with multiple long-running, yielding background loops, and for example here JULIA_NUM_THREADS=3, and you wanted to maintain a responsive gui.
@JeffBezanson is correct. Same issue. I was not planning on adding to ThreadPools (because the case is not structured-concurrent), but @vtjnash’s pin suggestion will do the trick for this. I’ll add just to cover the case, even though no real Pool is involved.
Say you have a gui interface with multiple long-running, yielding background loops, and for example here
JULIA_NUM_THREADS=3
, and you wanted to maintain a responsive gui.In this example, it would be nice to be able to allow a dedicated thread for
gui()
.Something like this perhaps:
or
An alternative would be to tell spawn not to use a specific thread, but I'm not sure what a good API would be for that
The text was updated successfully, but these errors were encountered: