c:c_threads:identify_different_threads
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
c:c_threads:identify_different_threads [2021/03/05 16:28] – created 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 36: | Line 36: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * Calling **get_id()** member function for a specific thread. | ||
+ | * Calling **std:: | ||
+ | |||
+ | </ | ||
+ |
c/c_threads/identify_different_threads.1614961701.txt.gz · Last modified: 2021/03/05 16:28 by peter