about summary refs log tree commit diff
path: root/src/libstd/sys/windows
diff options
context:
space:
mode:
authorVojtech Kral <vojtech@kral.hk>2015-01-27 16:00:26 +0100
committerVojtech Kral <vojtech@kral.hk>2015-01-27 16:00:26 +0100
commitc155208de42de5761231726e35614b4499b5a137 (patch)
tree2954b745c31b331bc50f13cefb8884181a042f8f /src/libstd/sys/windows
parentec4981ece86769c768d61a914093a7a39192522c (diff)
downloadrust-c155208de42de5761231726e35614b4499b5a137.tar.gz
rust-c155208de42de5761231726e35614b4499b5a137.zip
Thread native name setting, fix #10302
Diffstat (limited to 'src/libstd/sys/windows')
-rw-r--r--src/libstd/sys/windows/thread.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/windows/thread.rs b/src/libstd/sys/windows/thread.rs
index b6027ea2e7e..a94adcb3bc7 100644
--- a/src/libstd/sys/windows/thread.rs
+++ b/src/libstd/sys/windows/thread.rs
@@ -67,10 +67,10 @@ pub unsafe fn create(stack: uint, p: Thunk) -> rust_thread {
     return ret;
 }
 
-pub unsafe fn set_name(name: &str) {
+pub unsafe fn set_name(_name: &str) {
     // Windows threads are nameless
     // The names in MSVC debugger are obtained using a "magic" exception,
-    // which requires a use of C++ macros.
+    // which requires a use of MS C++ extensions.
     // See https://msdn.microsoft.com/en-us/library/xcb2z8hs.aspx
 }