User Tools

Site Tools


c:c_threads:identify_different_threads

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
c:c_threads:identify_different_threads [2021/03/05 16:30] peterc:c_threads:identify_different_threads [2021/03/05 16:30] (current) peter
Line 27: Line 27:
   std::cout << t1id << std::endl;   std::cout << t1id << std::endl;
  
-  // Get the ID of the MAIN Thread.+  // Get the ID of the MAIN thread.
   std::thread::id mainid = std::this_thread::get_id();   std::thread::id mainid = std::this_thread::get_id();
   std::cout << mainid << std::endl;   std::cout << mainid << std::endl;
c/c_threads/identify_different_threads.1614961805.txt.gz · Last modified: 2021/03/05 16:30 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki