Event processing loop for scheduling and coordinating asynchronous work; fire and forget.
C++ CMake Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cmake
dependency
legal
source/corvusoft
test
tool
.appveyor.yml
.gitignore
.gitmodules Inclusion of core and removal of catch deps. Mar 12, 2018
.travis.yml Removed duplicate Travis-CI cfg for Linux:g++. May 8, 2017
CMakeLists.txt
LICENSE
README.md

README.md

Runloop Unix Build Status Windows Build status

Example

#include <memory>
#include <cstdlib>
#include <corvusoft/core/run_loop.hpp>

using namespace std;
using corvusoft::core::RunLoop;

int main( const int, const char** )
{
    int count = 0;
    const auto counter = [ &count ]( void ) { count++; return error_code( ); };
            
    auto runloop = make_shared< RunLoop >( );
    runloop->launch( counter );
    runloop->launch( counter );
    runloop->launch( counter );

    runloop->start( );
    runloop->wait( );
    runloop->stop( );

    return EXIT_SUCCESS;
}

License

© 2013-2018 Corvusoft Limited, United Kingdom. All rights reserved.

The Runloop framework is dual licensed; See LICENSE for full details.

Support

Please contact sales@corvusoft.co.uk, for support and licensing options including bespoke software development, testing, design consultation, training, mentoring and code review.

Build

Unix

git clone --recursive https://github.com/corvusoft/runloop.git
mkdir runloop/build
cd runloop/build
cmake ..
make [-j CPU_CORES+1] install
make test

Windows

git clone --recursive https://github.com/corvusoft/runloop.git
mkdir runloop/build
cd runloop/build
cmake -G "Visual Studio 15 2017" ..
cmake --build . --target ALL_BUILD --config Release
ctest

You will now find all required components installed in the distribution folder.

Please submit all enhancements, proposals, and defects via the issue tracker.

Documentation

This codebase is intended to be as self documenting as possible. We have supplied many test cases to help aid developers.

You can locate the latest API documentation here.

Minimum Requirements

Resource Requirement
Compiler C++14 compliant or above
OS BSD, Linux, Mac OSX, Windows

Contact

Method Description
Twitter Tweet us your questions & feature requests.
support@corvusoft.co.uk Support related queries.
sales@corvusoft.co.uk Sale related queries.