








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









5.5 Tracing, Testing, and Replay for Message Passing Programs Outline:^
SYN-sequences for channel-based programs
Tracing, replaying, and checking the feasibility of SYN-sequences.
Reachability testing for programs that use the
channel
classes.
5.5.1 SR-sequences Object-based SYN-sequence: there is one SYN-sequence for each synchronization objectin the program.Thread-based SYN-sequence: one SYN-sequence for each thread. 5.5.1.1 Object-Based SR-sequences
Let CP be a concurrent program that uses
channels
. Assume for now that CP has no
selective wait statements.The synchronization objects in CP are its channels and the synchronization events in CPare executions of
send()
and
receive()
operations on these channels.
A SYN-sequence for a channel is a sequence of send and receive events (or “SR-events”) of the following types:^
SRsynchronization: a synchronization between send and receive operations on asynchronous channel
asynchronousSendArrival: an arrival of an asynchronous send operation whosemessage is eventually received
asynchronousReceive: a receive operation that eventually receives a message on anasynchronous channel