summaryrefslogtreecommitdiff
path: root/libs/interprocess/test/robust_emulation_test.cpp
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-30 12:57:26 -0700
committerAnas Nashif <anas.nashif@intel.com>2012-10-30 12:57:26 -0700
commit1a78a62555be32868418fe52f8e330c9d0f95d5a (patch)
treed3765a80e7d3b9640ec2e930743630cd6b9fce2b /libs/interprocess/test/robust_emulation_test.cpp
downloadboost-1a78a62555be32868418fe52f8e330c9d0f95d5a.tar.gz
boost-1a78a62555be32868418fe52f8e330c9d0f95d5a.tar.bz2
boost-1a78a62555be32868418fe52f8e330c9d0f95d5a.zip
Imported Upstream version 1.49.0upstream/1.49.0
Diffstat (limited to 'libs/interprocess/test/robust_emulation_test.cpp')
-rw-r--r--libs/interprocess/test/robust_emulation_test.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/libs/interprocess/test/robust_emulation_test.cpp b/libs/interprocess/test/robust_emulation_test.cpp
new file mode 100644
index 0000000000..3e2d9e9a08
--- /dev/null
+++ b/libs/interprocess/test/robust_emulation_test.cpp
@@ -0,0 +1,22 @@
+//////////////////////////////////////////////////////////////////////////////
+//
+// (C) Copyright Ion Gaztanaga 2010-2011. Distributed under the Boost
+// Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+// See http://www.boost.org/libs/interprocess for documentation.
+//
+//////////////////////////////////////////////////////////////////////////////
+#include <boost/interprocess/detail/config_begin.hpp>
+#include "robust_mutex_test.hpp"
+#include <boost/interprocess/detail/robust_emulation.hpp>
+#include <boost/interprocess/sync/spin/mutex.hpp>
+
+int main(int argc, char *argv[])
+{
+ using namespace boost::interprocess;
+ return test::robust_mutex_test
+ < ipcdetail::robust_spin_mutex<ipcdetail::spin_mutex> >(argc, argv);
+}
+
+#include <boost/interprocess/detail/config_end.hpp>