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
If i were to call libvips functions inside an async loop using a ThreadPoolExecutor, would it block the main loop? or should I use a ProcessPoolExecutor
The text was updated successfully, but these errors were encountered:
pyvips doesn't lock the GIL itself, but I think cffi (pyvips uses this to call into the libvips binary) will lock around each call. You should check, of course.
Most libvips calls are quick, but it will block during things like write_to_file, or max.
If i were to call libvips functions inside an async loop using a ThreadPoolExecutor, would it block the main loop? or should I use a ProcessPoolExecutor
The text was updated successfully, but these errors were encountered: