Extend GHC.ExecutionStack to provide stack introspection for other threads
GHC.ExecutionStack currently provides
getStackTrace :: IO (Maybe [Location])
It would be nice to also provide
getThreadStackTrace :: ThreadId -> IO (Maybe [Location])
Edited by Ben Gamari