Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We can use memset, unlike what the previous comment said, because this is a one-time allocated thread_stats struct that doesn't actually use the mutex for anything. This simplifies the setup code a decent amount and makes one fewer place where things need to be added if a new stat is introduced. Signed-off-by: Dan McGee <[email protected]>
- Loading branch information