Java Fair Threads

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

Chapters

1. Introduction
2. Threads
3. Fair Thread Framework
4. Java FairThreads API
5. Examples
6. Links with Reactive Programming
7. Conclusion


Abstract

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. This paper presents fair threads in the context of the Java language, and describes the API to use them. Link with reactive programming, which is at the basis of the fair threads proposal, is also considered.


[1] Java Web Site.

[2] LinuxThreads Web Site.

[3] Reactive Programming Web Site.

[4] Solaris Web Site.

[5] SugarCubes Web Site.

[6] Arnold, Ken and Goslin, James -- The Java Programming Language -- Addison-Wesley, 1996.

[7] Boussinot, F. and Susini, J-F. -- Java threads and SugarCubes -- Software Practice and Experience, 30(5), 2000, pp. 545-566.

[8] Engelschall, Ralf S. -- Portable Multithreading -- Proc. USENIX Annual Technical Conference, San Diego, California, 2000.

[9] Hazard, L. and Susini, J-F. and Boussinot, F. -- Programming with Junior -- Inria Research Report, (4027), 2000.

[10] Hazard, L. and Susini, J-F. and Boussinot, F. -- The Junior reactive kernel -- Inria Research Report, (3732), 1999.

[11] Hollub, A. -- Taming Java Threads -- Apress, 2000.

[12] Nichols, B. and Buttlar, D. and Proulx Farrell J. -- Pthreads Programming -- O'Reilly, 1996.

[13] Reppy, John H. -- Concurrent Programming in ML -- Cambridge University Press, 1999.


This page has been generated by Scribe.
Last update Mon Jun 10 17:27:09 2002