crossbeam-utils
crossbeam-utils copied to clipboard
Issue #26: Scope stats on running, completed and panicked threads
I implemented the three method signatures suggested in issue #26 using three atomic counters which are updated each time a thread is spawned or exits using a guard/sentinel struct. I also implemented two very basic test to be somewhat able to ensure their functionality.