mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 14:56:07 +00:00
![Jamie Nicol](/assets/img/avatar_default.png)
By default, AttachCurrentThread() overwrites the existing thread name with "Thread-<n>", making it hard to identify these threads in a debugger. By supplying the existing thread name as an argument to AttachCurrentThread, we ensure that the thread keeps its name as desired. Differential Revision: https://phabricator.services.mozilla.com/D207559