2
0
mirror of https://github.com/boostorg/thread.git synced 2026-01-23 06:02:14 +00:00

Thread: deprecate nested scoped locks and DateTime based timed fuctions

[SVN r81279]
This commit is contained in:
Vicente J. Botet Escriba
2012-11-10 10:25:33 +00:00
parent 5c5c818bc5
commit 0cd8326f21
58 changed files with 584 additions and 345 deletions

View File

@@ -12,7 +12,7 @@ boost::mutex mutex;
void increment_count()
{
boost::mutex::scoped_lock lock(mutex);
boost::unique_lock<boost::mutex> lock(mutex);
std::cout << "count = " << ++count << std::endl;
}