-
March 8th, 2013, 10:42 AM
#1
std::thread. How to check whether std::thread ended?
How to check whether std::thread ended?
-
March 8th, 2013, 04:53 PM
#2
Re: std::thread. How to check whether std::thread ended?
Use std::thread::get_id()
Return value
a value of type std::thread::id identifying the thread associated with *this. If there is no thread associated, default constructed std::thread::id is returned.
Cheers, D Drmmr
Please put [code][/code] tags around your code to preserve indentation and make it more readable.
As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|