Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, any spawn_blocking will run on its own dedicated thread


I missread the comment above and read `async` instead of `sync`, my bad.

(Your response isn't entirely accurate though: it's using a thread pool whose size is configurable, not one thread per spaw_blocking)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: