0
I Use This!
Activity Not Available

Project Summary

Take Five is an actor-based system for C++, extending its capability to allow multithreaded systems without locks and explicit threads. Take Five uses the actor (or active object) model, where classes derive from an Actor type, which allow them to be efficiently scheduled by behind-the-scenes worker threads.

Requires Boost + Boost.Thread.

Usage:

Make sure your project 1) points to the Boost headers and 2) includes the Boost.Thread library.

Then, point your source to the include:

#include "takefive/takefive.hpp"Create actors based on Actor:

class Msg_Actor : public Take_Five::Actor {
public:
Msg_Actor *next_in_line;

void pass(int token) {
if (token)
send_to(next_in_line, &Msg_Actor::pass, --token);
else
exit(0);
}
};Lastly, start up the stage, which will fire up the scheduler threads:

Take_Five::Stage s;
s.start();
s.director.send_to(&first_actor, &First_Actor::first_msg, arg1, arg2, etc);

Tags

actor concurrent cpp parallel parallelism

In a Nutshell, takefive...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

BSD 4-clause (University of California-Specific)
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Forbidden

Use Trademarks

Hold Liable

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    you can embed statistics from Open Hub on your site
  • ...
    nearly 1 in 3 companies have no process for identifying, tracking, or remediating known open source vulnerabilities
  • ...
    search using multiple tags to find exactly what you need

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis