Added a comment

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403716
This commit is contained in:
Davis King 2010-07-02 00:38:21 +00:00
parent 7f6758181f
commit 38df0ad708

View File

@ -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;