Skip to main content

Module thread_util

Module thread_util 

Source
Expand description

Best-effort OS thread spawning — never panics when the kernel returns EAGAIN.

Functions§

spawn_named
Spawn f on a named thread. On failure (e.g. PID/thread limit), log a warning and return None so callers can fall back to inline work or skip the feature.