src/thread/stdcpp/SDL_systhread.cpp
changeset 8487 3c1f0d357a1a
parent 8486 ba33d06f80cd
child 8544 356878e614e2
equal deleted inserted replaced
8486:ba33d06f80cd 8487:3c1f0d357a1a
    97 {
    97 {
    98     // Thread priorities do not look to be settable via C++11's thread
    98     // Thread priorities do not look to be settable via C++11's thread
    99     // interface, at least as of this writing (Nov 2012).  std::thread does
    99     // interface, at least as of this writing (Nov 2012).  std::thread does
   100     // provide access to the OS' native handle, however, and some form of
   100     // provide access to the OS' native handle, however, and some form of
   101     // priority-setting could, in theory, be done through this interface.
   101     // priority-setting could, in theory, be done through this interface.
       
   102     //
       
   103     // WinRT: UPDATE (Aug 20, 2013): thread priorities cannot be changed
       
   104     // on WinRT, at least not for any thread that's already been created.
       
   105     // WinRT threads appear to be based off of the WinRT class,
       
   106     // ThreadPool, more info on which can be found at:
       
   107     // http://msdn.microsoft.com/en-us/library/windows/apps/windows.system.threading.threadpool.aspx
       
   108     //
       
   109     // For compatibility sake, 0 will be returned here.
   102     return (0);
   110     return (0);
   103 }
   111 }
   104 
   112 
   105 extern "C"
   113 extern "C"
   106 void
   114 void