Commit aeb0089
Add a
* Wait on a `futex` or `cond_var`, or
* Returns threads to an executor immediately,
instead of spinning for a limited number of iterations while waiting for work.
This flag should replace `PTHREADPOOL_FLAG_YIELD_WORKERS`, which is currently the default behaviour.
PiperOrigin-RevId: 810004216PTHREADPOOL_FLAG_DONT_SPIN_WORKERS flag to:1 parent 41fadfb commit aeb0089
3 files changed
Lines changed: 92 additions & 95 deletions
0 commit comments