:: Ord a => [a] -> [a] -package:statistics -package:safe -package:basement -is:exact -package:ghc -package:lens -package:containers package:lifted-base -is:exact

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