git-svn-id: svn://db.shs.com.ru/pip@6 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
9
doc/examples/pimutex.cpp
Normal file
9
doc/examples/pimutex.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "pip.h"
|
||||
|
||||
void _() {
|
||||
//! [main]
|
||||
mutex.lock();
|
||||
// ... your code here
|
||||
mutex.unlock();
|
||||
//! [main]
|
||||
}
|
||||
Reference in New Issue
Block a user