semaphoreThreadFactory

fun semaphoreThreadFactory(s: Semaphore, tf: ThreadFactory = Thread.ofVirtual().factory()): ThreadFactory(source)