]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #44374 - jsheard:threadname, r=alexcrichton
authorCorey Farwell <coreyf@rwell.org>
Fri, 15 Sep 2017 02:32:34 +0000 (22:32 -0400)
committerGitHub <noreply@github.com>
Fri, 15 Sep 2017 02:32:34 +0000 (22:32 -0400)
commit3ef792a03591235a5d5c9e222161e7246aa3f845
treeadd4a0ca09f0eebade1a5b85d2a9ed709f538973
parent9761a8dc14cf38008703ba3370bb7c094d92b550
parent597ac36547f5b135d55bd4cf26964762c8c4796f
Rollup merge of #44374 - jsheard:threadname, r=alexcrichton

Implement named threads on Windows (v2)

https://msdn.microsoft.com/en-us/library/windows/desktop/mt774976(v=vs.85).aspx

Windows 10 version 1607 finally added a sensible API for naming threads, so we can now implement named threads without having to use MSVC compiler extensions like before. VS2017s debugger and the WPA profiler already use this API where available, but other tools may need some time to catch up.

![thread](https://user-images.githubusercontent.com/3153547/30133438-c92a3cda-934b-11e7-9668-915d53e8d860.png)