Click here to Skip to main content
15,883,817 members
Articles / Programming Languages / C++

RMI for C++

Rate me:
Please Sign up or sign in to vote.
4.87/5 (113 votes)
6 Aug 2009CPOL8 min read 814.7K   4.6K   153  
User-friendly remote method invocation in C++.
#ifndef _UTIL_PLATFORM_THREADS_ZTHREADS_HPP_
#define _UTIL_PLATFORM_THREADS_ZTHREADS_HPP_

// TODO: z-thread headers

namespace Platform {

    namespace Threads {

        // TODO: z-thread type-defs

        /*
        typedef boost::thread thread_t;
        typedef boost::thread_group thread_group_t;

        template<typename T>
        struct thread_specific_ptr_t {
            typedef boost::thread_specific_ptr<T> Val;
        };

        typedef boost::mutex mutex_t;
        typedef boost::recursive_mutex recursive_mutex_t;
        typedef boost::try_mutex try_mutex_t;
        */

    } // namespace Threads

} // namespace Platform

#endif // ! _UTIL_PLATFORM_THREADS_ZTHREADS_HPP_

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Australia Australia
Software developer, from Sweden and now living in Canberra, Australia, working on distributed C++ applications. When he is not programming, Jarl enjoys skiing and playing table tennis. He derives immense satisfaction from referring to himself in third person.

Comments and Discussions