:: Ord a => [a] -> [a] -package:singletons -package:extra -package:containers -package:safe -package:Cabal -package:ghc -package:base package:lifted-base -is:exact

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