chore: unify thread and process helpers
chore: unify thread and process helpers: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: chore: unify thread and process helpers
The task
**Title:** chore: unify thread and process helpers
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.