Access Restriction

Author Boussinot, Frédéric
Source Hyper Articles en Ligne (HAL)
Content type Text
File Format PDF
Language English
Subject Keyword REACTIVE PROGRAMMING ♦ PARALLELISM ♦ CONCURRENT PROGRAMMING ♦ THREADS ♦ info ♦ Computer Science [cs]/Other [cs.OH]
Abstract FairThreads offers a very simple framework for concurrent and parallel programming. Basically, it defines schedulers which are synchronization servers, to which fair threads are linked. All threads linked to the same scheduler are executed in a cooperative way, at the same pace, and they can synchronize and communicate using broadcast events. Threads which are not linked to any scheduler are executed by the OS in a preemptive way, at their own pace. FairThreads defines automata to deal with small, short-lived tasks, which do not need the full power of native threads. Automata have lightweight implementation and are not subject to some limitations of native threads. The implementation in C is based on the pthreads library. Several fair schedulers, executed by distinct pthreads, can be used simultaneously in the same program. Using several schedulers and unlinked threads, programmers can take benefit of multiprocessors machines (basically, SMP architectures)
Educational Use Research
Learning Resource Type Report ♦ Article
Publisher Date 2003-12-01
Publisher Institution INRIA