Simplification of ThreadPool code - merge asserts into main logic
Simplification of ThreadPool code - merge asserts into main logic

PiperOrigin-RevId: 440105621

google/ruy,google/ruy,google/ruy,google/ruy