Fair Threads in Java

Presentation

Fair threads are cooperative threads run by a fair scheduler which gives them equal access to the processor. Fair threads can communicate using broadcast events, and are fully portable as their semantics does not depends on the executing platform. Fine control over fair threads execution is possible allowing the programming of specific user-defined scheduling strategies. FairThreads is implemented in Java through an API. Reactive programming is at the basis of the fair threads proposal.

Documentation

A paper describes FairThreads in Java:

A very general introduction in french to threads, concurrent programming, and FairThreads.
Demos

One considers sine and cosine threads that are run together (programming with standard Java threads is also considered).

Download

FairThreads implementation is available from the download page (for using reactive instructions, you need also to download the REPLACE (v2.1) implementation of Junior and the Jre extended API).

License

FairThreads is distributed under the Gnu Public License

Author

Frederic Boussinot
EMP-CMA/INRIA - MIMOSA Project
2004 route des Lucioles - BP 93
F-06902 Sophia Antipolis, Cedex


This page has been generated by Scribe.
Last update Thu Oct 30 12:10:16 2003