106 articles – 48 references  [version française]
HAL: hal-00015836, version 1

Detailed view  Export this paper
Journal of Theoretical Computer Science (TCS) 358 (2006) 229-254
Resource Control for Synchronous Cooperative Threads
Roberto M. Amadio 1, Silvano Dal Zilio 2
(2006-08-15)

We develop new methods to statically bound the resources needed for the execution of systems of concurrent, interactive threads. Our study is concerned with a \emph{synchronous} model of interaction based on cooperative threads whose execution proceeds in synchronous rounds called instants. Our contribution is a system of compositional static analyses to guarantee that each instant terminates and to bound the size of the values computed by the system as a function of the size of its parameters at the beginning of the instant. Our method generalises an approach designed for first-order functional languages that relies on a combination of standard termination techniques for term rewriting systems and an analysis of the size of the computed values based on the notion of quasi-interpretation. We show that these two methods can be combined to obtain an explicit polynomial bound on the resources needed for the execution of the system during an instant. As a second contribution, we introduce a virtual machine and a related bytecode thus producing a precise description of the resources needed for the execution of a system. In this context, we present a suitable control flow analysis that allows to formulte the static analyses for resource control at byte code level.
1:  Preuves, Programmes et Systèmes (PPS)
CNRS : UMR7126 – Université Paris VII - Paris Diderot
2:  Laboratoire d'informatique Fondamentale de Marseille (LIF)
CNRS : UMR6166 – Université de la Méditerranée - Aix-Marseille II – Université de Provence - Aix-Marseille I
Computer Science/Programming Languages
Synchronous programming – Resource bound – Termination – Quasi-interpretations – Virtual machine – Bytecode verification.
Attached file list to this document: 
PDF
sct.pdf(406 KB)
PS
sct.ps(355.4 KB)