mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Added a comment
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403716
This commit is contained in:
parent
7f6758181f
commit
38df0ad708
@ -58,6 +58,7 @@ int main()
|
||||
double val = 2;
|
||||
thread_function t4(thread_increment, ref(val));
|
||||
t4.wait(); // wait for t4 to finish before printing val.
|
||||
// Print val. It will now have a value of 3.
|
||||
cout << "val: " << val << endl;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user