Skip to content

about block_in_place() #4003

Answered by Darksonn
JesseAtSZ asked this question in Q&A
Jul 29, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Whenever you use block_in_place, the runtime will start a new worker thread using spawn_blocking so the number of worker threads remains constant unless the spawn_blocking queue is full, preventing the new worker thread from starting.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@BCathcart
Comment options

@Darksonn
Comment options

Answer selected by JesseAtSZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants