:: Ord a => [a] -> [a] -package:statistics -package:integration -package:ghc -package:extra -is:exact -package:errors -package:hedgehog package:lifted-base -is:exact

Generalized version of runInBoundThread.
Generalized version of runInUnboundThread.
Generalized version of mask_.
Generalized version of uninterruptibleMask_.