:: Ord a => [a] -> [a] -package:hspec -package:errors -is:exact -package:basement package:lifted-base -is:exact

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