▽あどけない話 ●11/21 16:32 2024-11-20Labeling threads in HaskellHaskellGHC 9.6 provides a function to list up the current threads finally. The function is listThreads exported from the GHC.Conc.Sync module. listThreads is a killer debug method for thread leaks.If you have Haskell programs which run for a long time, it's quite nice to provide feature to monitor threads with the following functions:import Data.List (sort
▽Stack Overflow ●11/21 10:49 Ask questions, find answers and collaborate at work with Stack Overflow for Teams.Try Teams for free Explore TeamsSite design / logo 〓 2024 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2024.11.20.19014