Skip to content

Latest commit

 

History

33 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FutureSynchronizerLibrary

This project provides some templates to help parallelization.

Requires C++11 compiler (tested with Clang (version 6) and Visual Studio 2013, doesn't work with Visual Studio 2012).

How to compile:

mkdir build
cd build
cmake ..
make

How to launch examples:

Two examples are provided: returnValue and returnVoid.

returnValue shows you how to implement a function with a return value and get the result at the end of all the calculation.

returnVoid shows you how to implement a function with no return value.

Inside build folder;

./examples/returnValue/returnValue

./examples/returnVoid/returnVoid

Source tree:

  .
  ├── CMakeLists.txt
  ├── examples
  │   ├── CMakeLists.txt
  │   ├── returnValue
  │   │   └── src
  │   │       └── main.cpp
  │   └── returnVoid
  │       └── src
  │           └── main.cpp
  └── lib
      ├── factory
      │   └── FutureFactory.hxx
      ├── policy
      │   ├── Policy.hxx
  	  │   └── ResultPolicy.hxx
      └── thread
          └── FutureSynchronyzer.hxx

TODO

Fix std::bad_function_call inside returnValue example (appears randomly).

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages