:: Ord a => [a] -> [a] -package:extra -package:statistics -package:imports -package:base -package:hedgehog package:lifted-base -is:exact

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