in Sources/MockoloFramework/Utils/FileScanner.swift [21:28]
func semaphore(_ numThreads: Int?) -> DispatchSemaphore? {
let limit = concurrencyLimit(numThreads)
var sema: DispatchSemaphore?
if limit > 1 {
sema = DispatchSemaphore(value: limit)
}
return sema
}