mutex types and interprocess documentation question
Boost documention has following code in the paragraph "Scoped lock" (reference to the paragraph is here.../html/interprocess/synchronization_mechanisms.html#interprocess.synchron ization_mechanisms.mutexes) using namespace boost::interprocess; //Let's create any mutex type: MutexType mutex; ... I did not find a reference to available types declarations. Paragraph above "Scoped lock" talks about mutex types, but I did not find type declarations. My question is: where are available types declared? I will also appreciate the example of such declaration that shows what #include should be used.
Archie14 wrote:
Boost documention has following code in the paragraph "Scoped lock" (reference to the paragraph is here.../html/interprocess/synchronization_mechanisms.html#interprocess.synchron ization_mechanisms.mutexes)
using namespace boost::interprocess;
//Let's create any mutex type: MutexType mutex; ...
I did not find a reference to available types declarations. Paragraph above "Scoped lock" talks about mutex types, but I did not find type declarations.
You have them in the same page under the title "Boost.Interprocess Mutex Types And Headers". Regards, Ion
Ion Gaztañaga
Archie14 wrote:
Boost documention has following code in the paragraph "Scoped lock" (reference to the paragraph is
here.../html/interprocess/synchronization_mechanisms.html#interprocess.synchron
ization_mechanisms.mutexes)
using namespace boost::interprocess;
//Let's create any mutex type: MutexType mutex; ...
I did not find a reference to available types declarations. Paragraph above "Scoped lock" talks about mutex types, but I did not find type declarations.
You have them in the same page under the title "Boost.Interprocess Mutex Types And Headers".
Regards,
Ion
Ion, thank you for the answer. As I mentioned in my post I read the paragraph
that you refer me to, but it is confusing to me. For example, if I do
#include
participants (2)
-
Archie14
-
Ion Gaztañaga