c:c_threads:identify_different_threads
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
c:c_threads:identify_different_threads [2021/03/05 16:29] – peter | c: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:: | std:: | ||
std::cout << mainid << std::endl; | std::cout << mainid << std::endl; | ||
Line 37: | Line 37: | ||
</ | </ | ||
- | **NOTE:** | + | <WRAP info> |
+ | **NOTE: | ||
* Calling **get_id()** member function for a specific thread. | * Calling **get_id()** member function for a specific thread. | ||
* Calling **std:: | * Calling **std:: | ||
+ | |||
+ | </ | ||
c/c_threads/identify_different_threads.1614961764.txt.gz · Last modified: 2021/03/05 16:29 by peter