ThreadId package:regex-applicative

Returns thread identifier. This will be Just for ordinary threads and Nothing for results.