Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Representation and Implementation of CSP and VCR Traces

View through CrossRef
Communicating Sequential Processes (CSP) was developed around a formal algebra of processes and a semantics based on traces (and failures and divergences). A trace is a record of the events engaged in by a process. Several programming languages use, or have libraries to use, CSP mechanisms to manage their concurrency. Most of these lack the facility to record the trace of a program. A standard trace is a flat list of events but structured trace models are possible that can provide more information such as the independent or concurrent engagement of the process in some of its events. One such trace model is View-Centric Reasoning (VCR), which offers an additional model of tracing, taking into account the multiple, possibly imperfect views of a concurrent computation. This paper also introduces “structural” traces, a new type of trace that reflects the nested parallelism in a CSP system. The paper describes the automated generation of these three trace types in the Communicating Haskell Processes (CHP) library, using techniques which could easily be applied in other libraries such as JCSP and C++CSP2. The ability to present such traces of a concurrent program assists in understanding the behaviour of real CHP programs and for debugging when the trace behaviours are wrong. These ideas and tools promote a deeper understanding of the association between practicalities of real systems software and the underlying CSP formalism.
Title: Representation and Implementation of CSP and VCR Traces
Description:
Communicating Sequential Processes (CSP) was developed around a formal algebra of processes and a semantics based on traces (and failures and divergences).
A trace is a record of the events engaged in by a process.
Several programming languages use, or have libraries to use, CSP mechanisms to manage their concurrency.
Most of these lack the facility to record the trace of a program.
A standard trace is a flat list of events but structured trace models are possible that can provide more information such as the independent or concurrent engagement of the process in some of its events.
One such trace model is View-Centric Reasoning (VCR), which offers an additional model of tracing, taking into account the multiple, possibly imperfect views of a concurrent computation.
This paper also introduces “structural” traces, a new type of trace that reflects the nested parallelism in a CSP system.
The paper describes the automated generation of these three trace types in the Communicating Haskell Processes (CHP) library, using techniques which could easily be applied in other libraries such as JCSP and C++CSP2.
The ability to present such traces of a concurrent program assists in understanding the behaviour of real CHP programs and for debugging when the trace behaviours are wrong.
These ideas and tools promote a deeper understanding of the association between practicalities of real systems software and the underlying CSP formalism.

Related Results

Thermodynamic analysis of simple and modified organic Rankine cycle and vapor compression refrigeration (ORC–VCR) systems
Thermodynamic analysis of simple and modified organic Rankine cycle and vapor compression refrigeration (ORC–VCR) systems
AbstractThis paper compares the thermodynamic performance of two ORC–VCR systems using the zeotropic mixture (Hexane/R245fa); one is a simple ORC–VCR system whereas the second one ...
Safety and Efficacy of 14-Day Cold Stored Platelets in Reversing Effects of Aspirin
Safety and Efficacy of 14-Day Cold Stored Platelets in Reversing Effects of Aspirin
Abstract Background: Aspirin is an antiplatelet therapy used to reduce the risk of vascular occlusive events. However, this therapy is associated with an increased r...
Abstract 210: Novel antibody drug conjugate to inhibit mesothelioma tumor growth
Abstract 210: Novel antibody drug conjugate to inhibit mesothelioma tumor growth
Abstract Mesothelioma is an aggressive but rare form of cancer with a poor prognosis. 1-year survival is ~40% and 5-year survival remains in single digits. Treatment...
Platelet dysfunction reversal with cold-stored vs. room temperature-stored platelet transfusions
Platelet dysfunction reversal with cold-stored vs. room temperature-stored platelet transfusions
ABSTRACTBackgroundPlatelets are stored at room temperature for 5-7 days (RSP). Due to frequent and severe shortages, the FDA recently approved up to 14-day cold-stored platelets in...
Development and Evaluation of a Modern C++CSP Library
Development and Evaluation of a Modern C++CSP Library
Although many CSP inspired libraries exist, none yet have targeted modern C++ (C++11 onwards). The work presented has a main objective of providing a new C++CSP library which adher...
Uterine Artery Embolization Combined with Subsequent Suction Evacuation as Low-Risk Treatment for Cesarean Scar Pregnancy
Uterine Artery Embolization Combined with Subsequent Suction Evacuation as Low-Risk Treatment for Cesarean Scar Pregnancy
Objective: The aim of this study is to propose a standardized management of care for patients diagnosed with cesarean scar pregnancy (CSP). There are two types of CSP: Type 1 (on t...
Conduction system pacing upgrade versus biventricular pacing on pacemaker-induced cardiomyopathy: a retrospective observational study
Conduction system pacing upgrade versus biventricular pacing on pacemaker-induced cardiomyopathy: a retrospective observational study
Objective: The feasibility of the conduction system pacing (CSP) upgrade as an alternative modality to the traditional biventricular pacing (BiVP) upgrade in patients with pacemake...
Transformed common spatial pattern for motor imagery-based brain-computer interfaces
Transformed common spatial pattern for motor imagery-based brain-computer interfaces
ObjectiveThe motor imagery (MI)-based brain–computer interface (BCI) is one of the most popular BCI paradigms. Common spatial pattern (CSP) is an effective algorithm for decoding M...

Back to Top