Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50590 - sandbox/interthreads/boost/interthreads/typeof
From: vicente.botet_at_[hidden]
Date: 2009-01-14 12:46:21


Author: viboes
Date: 2009-01-14 12:46:20 EST (Wed, 14 Jan 2009)
New Revision: 50590
URL: http://svn.boost.org/trac/boost/changeset/50590

Log:
interthreads version 0.2
Adding threader/joiner
Adding Asynchronous Executors fmk
Added:
   sandbox/interthreads/boost/interthreads/typeof/basic_threader.hpp (contents, props changed)
   sandbox/interthreads/boost/interthreads/typeof/future.hpp (contents, props changed)
   sandbox/interthreads/boost/interthreads/typeof/launcher.hpp (contents, props changed)
   sandbox/interthreads/boost/interthreads/typeof/scheduler.hpp (contents, props changed)
   sandbox/interthreads/boost/interthreads/typeof/threader.hpp (contents, props changed)
   sandbox/interthreads/boost/interthreads/typeof/threader_decorator.hpp (contents, props changed)

Added: sandbox/interthreads/boost/interthreads/typeof/basic_threader.hpp
==============================================================================
--- (empty file)
+++ sandbox/interthreads/boost/interthreads/typeof/basic_threader.hpp 2009-01-14 12:46:20 EST (Wed, 14 Jan 2009)
@@ -0,0 +1,24 @@
+//////////////////////////////////////////////////////////////////////////////
+//
+// (C) Copyright Vicente J. Botet Escriba 2008-20009.
+// 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)
+//
+// Based on the unique_threader/unique_joiner design from of Kevlin Henney (n1883)
+//
+// See http://www.boost.org/libs/interthreads for documentation.
+//
+//////////////////////////////////////////////////////////////////////////////
+
+#ifndef BOOST_INTERTHREADS_TYPEOF_BASIC_THREADER__HPP
+#define BOOST_INTERTHREADS_TYPEOF_BASIC_THREADER__HPP
+
+#include <boost/interthreads/basic_threader.hpp>
+#include <boost/typeof/typeof.hpp>
+
+#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
+
+BOOST_TYPEOF_REGISTER_TYPE(boost::interthreads::basic_threader)
+
+#endif

Added: sandbox/interthreads/boost/interthreads/typeof/future.hpp
==============================================================================
--- (empty file)
+++ sandbox/interthreads/boost/interthreads/typeof/future.hpp 2009-01-14 12:46:20 EST (Wed, 14 Jan 2009)
@@ -0,0 +1,27 @@
+//////////////////////////////////////////////////////////////////////////////
+//
+// (C) Copyright Vicente J. Botet Escriba 2008-20009.
+// 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)
+//
+// Based on the unique_threader/unique_joiner design from of Kevlin Henney (n1883)
+//
+// See http://www.boost.org/libs/interthreads for documentation.
+//
+//////////////////////////////////////////////////////////////////////////////
+
+#ifndef BOOST_INTERTHREADS_TYPEOF_FUTURE__HPP
+#define BOOST_INTERTHREADS_TYPEOF_FUTURE__HPP
+
+#include <boost/futures/future.hpp>
+#include <boost/typeof/typeof.hpp>
+
+#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
+
+BOOST_TYPEOF_REGISTER_TEMPLATE(boost::interthreads::unique_future, 1)
+BOOST_TYPEOF_REGISTER_TEMPLATE(boost::interthreads::shared_future, 1)
+BOOST_TYPEOF_REGISTER_TEMPLATE(boost::interthreads::promise, 1)
+BOOST_TYPEOF_REGISTER_TEMPLATE(boost::interthreads::packaged_task, 1)
+
+#endif

Added: sandbox/interthreads/boost/interthreads/typeof/launcher.hpp
==============================================================================
--- (empty file)
+++ sandbox/interthreads/boost/interthreads/typeof/launcher.hpp 2009-01-14 12:46:20 EST (Wed, 14 Jan 2009)
@@ -0,0 +1,27 @@
+//////////////////////////////////////////////////////////////////////////////
+//
+// (C) Copyright Vicente J. Botet Escriba 2008-20009.
+// 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)
+//
+// Based on the unique_threader/unique_joiner design from of Kevlin Henney (n1883)
+//
+// See http://www.boost.org/libs/interthreads for documentation.
+//
+//////////////////////////////////////////////////////////////////////////////
+
+#ifndef BOOST_INTERTHREADS_TYPEOF_LAUNCHER__HPP
+#define BOOST_INTERTHREADS_TYPEOF_LAUNCHER__HPP
+
+#include <boost/interthreads/launcher.hpp>
+#include <boost/typeof/typeof.hpp>
+
+#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
+
+BOOST_TYPEOF_REGISTER_TYPE(boost::interthreads::launcher)
+
+
+BOOST_TYPEOF_REGISTER_TYPE(boost::interthreads::shared_launcher)
+
+#endif

Added: sandbox/interthreads/boost/interthreads/typeof/scheduler.hpp
==============================================================================
--- (empty file)
+++ sandbox/interthreads/boost/interthreads/typeof/scheduler.hpp 2009-01-14 12:46:20 EST (Wed, 14 Jan 2009)
@@ -0,0 +1,25 @@
+//////////////////////////////////////////////////////////////////////////////
+//
+// (C) Copyright Vicente J. Botet Escriba 2008-20009.
+// 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)
+//
+// Based on the unique_threader/unique_joiner design from of Kevlin Henney (n1883)
+//
+// See http://www.boost.org/libs/interthreads for documentation.
+//
+//////////////////////////////////////////////////////////////////////////////
+
+#ifndef BOOST_INTERTHREADS_TYPEOF_SCHEDULER__HPP
+#define BOOST_INTERTHREADS_TYPEOF_SCHEDULER__HPP
+
+#include <boost/interthreads/scheduler.hpp>
+#include <boost/typeof/typeof.hpp>
+
+#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
+
+BOOST_TYPEOF_REGISTER_TEMPLATE(boost::tp::pool, 1)
+BOOST_TYPEOF_REGISTER_TEMPLATE(boost::tp::task, 1)
+
+#endif

Added: sandbox/interthreads/boost/interthreads/typeof/threader.hpp
==============================================================================
--- (empty file)
+++ sandbox/interthreads/boost/interthreads/typeof/threader.hpp 2009-01-14 12:46:20 EST (Wed, 14 Jan 2009)
@@ -0,0 +1,28 @@
+//////////////////////////////////////////////////////////////////////////////
+//
+// (C) Copyright Vicente J. Botet Escriba 2008-20009.
+// 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)
+//
+// Based on the unique_threader/unique_joiner design from of Kevlin Henney (n1883)
+//
+// See http://www.boost.org/libs/interthreads for documentation.
+//
+//////////////////////////////////////////////////////////////////////////////
+
+#ifndef BOOST_INTERTHREADS_TYPEOF_THREADER__HPP
+#define BOOST_INTERTHREADS_TYPEOF_THREADER__HPP
+
+#include <boost/interthreads/threader.hpp>
+#include <boost/typeof/typeof.hpp>
+
+#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
+
+BOOST_TYPEOF_REGISTER_TYPE(boost::interthreads::unique_threader)
+BOOST_TYPEOF_REGISTER_TEMPLATE(boost::interthreads::unique_joiner, 1)
+
+BOOST_TYPEOF_REGISTER_TYPE(boost::interthreads::shared_threader)
+BOOST_TYPEOF_REGISTER_TEMPLATE(boost::interthreads::shared_joiner, 1)
+
+#endif

Added: sandbox/interthreads/boost/interthreads/typeof/threader_decorator.hpp
==============================================================================
--- (empty file)
+++ sandbox/interthreads/boost/interthreads/typeof/threader_decorator.hpp 2009-01-14 12:46:20 EST (Wed, 14 Jan 2009)
@@ -0,0 +1,21 @@
+//////////////////////////////////////////////////////////////////////////////
+//
+// (C) Copyright Vicente J. Botet Escriba 2008-20009.
+// 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)
+//
+// Based on the unique_threader/unique_joiner design from of Kevlin Henney (n1883)
+//
+// See http://www.boost.org/libs/interthreads for documentation.
+//
+//////////////////////////////////////////////////////////////////////////////
+
+#ifndef BOOST_INTERTHREADS_TYPEOF_THREADER_DECORATOR__HPP
+#define BOOST_INTERTHREADS_TYPEOF_THREADER_DECORATOR__HPP
+
+#include <boost/interthreads/typeof/threader.hpp>
+#include <boost/interthreads/threader_decorator.hpp>
+
+
+#endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk