:: Ord a => [a] -> [a] -package:singletons -package:statistics -package:errors -package:basement -package:Cabal -package:hedgehog -package:imports -is:exact package:lifted-base is:exact

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