:: Ord a => [a] -> [a] -package:singletons -package:mono-traversable -package:extra -package:errors -package:vector-algorithms package:lifted-base -is:exact is:exact

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