comp.lang.ada
 help / color / mirror / Atom feed
From: Ole-Hjalmar Kristensen <ole-hjalmar.kristensen@substitute_employer_here.com>
Subject: Re: Blocking I/O and Ravenscar
Date: 24 Sep 2007 11:03:42 +0200
Date: 2007-09-24T11:03:42+02:00	[thread overview]
Message-ID: <wvbrd4w8sadt.fsf@sun.com> (raw)
In-Reply-To: vp9df3p4o9u55on11ecse9h179d2rv4b2n@4ax.com

Hmmm. Why not use the rendezvous for implementing CSP communication?
It would seem to be a much closer match than protected objects.

>>>>> "S" == Surfer  <surfer@no.spam.net> writes:

<snip>

    S> There is a very interesting paper about message passing and Ravenscar
    S> here: 

    S> Communicating Ada Tasks (2003)  
    S> http://citeseer.ist.psu.edu/577581.html

    S> Abstract. Ada has proven successful in the area of high integrity sys-
    S> tems development, but its tasking model is hard to reason about. Thus,
    S> Ravenscar has been defined as a restricted subset of the Ada tasking
    S> model, which meets the requirements of producing analysable and de-
    S> terministic code. A central feature of Ravenscar is the use of
    S> protected objects to ensure mutually exclusive access to shared data.
    S> In this paper, we use Ravenscar protected objects to implement CSP
    S> channels in Ada. This allows us to transform the data-oriented
    S> asynchronous tasking model of Ravenscar into the cleaner, and better
    S> understood, message-passing synchronous model of CSP. Thus, formal
    S> proofs and techniques for model-checking CSP specifications can be
    S> applied to Ravenscar programs. In turn, this raises our confidence in
    S> these programs and their reliability. We will formally verify our
    S> implementation of the CSP channel using the Circus model of Ravenscar
    S> protected objects provided in [3].

    S> (You can download a copy from the links in the top right hand corner)

    S> Also a closely related paper here:

    S> Extending Ravenscar with CSP Channels
    S> http://www.springerlink.com/index/j7h8rr665r0x20n9.pdf

-- 
   C++: The power, elegance and simplicity of a hand grenade.



  parent reply	other threads:[~2007-09-24  9:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-21 21:08 Blocking I/O and Ravenscar Maciej Sobczak
2007-09-22  4:31 ` Jeffrey R. Carter
2007-09-22 21:17   ` Maciej Sobczak
2007-09-23 18:03     ` Surfer
2007-09-23 19:58       ` Surfer
2007-09-23 20:43       ` Maciej Sobczak
2007-09-24  9:03       ` Ole-Hjalmar Kristensen [this message]
2007-09-24 13:59         ` Surfer
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox