< prev index next >

src/hotspot/os/windows/os_windows.cpp

Print this page

        

@@ -793,10 +793,14 @@
   } else {
     return proc_count;
   }
 }
 
+uint os::processor_id() {
+  return (uint)GetCurrentProcessorNumber();
+}
+
 void os::set_native_thread_name(const char *name) {
 
   // See: http://msdn.microsoft.com/en-us/library/xcb2z8hs.aspx
   //
   // Note that unfortunately this only works if the process
< prev index next >