USING SR FOR DISCRETE EVENT SIMULATION - A STUDY IN CONCURRENT PROGRAMMING

被引:5
|
作者
OLSSON, RA
机构
[1] Division of Computer Science, University of California, Davis, California
来源
SOFTWARE-PRACTICE & EXPERIENCE | 1990年 / 20卷 / 12期
关键词
Asynchronous message passing; Concurrent programming; Concurrent programming languages; Discrete event simulation; Rendezvous; Synchronization mechanisms;
D O I
10.1002/spe.4380201202
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper demonstrates the use of the SR concurrent programming language for discrete event simulation. SR provides a rich collection of synchronization mechanisms, whose use can lead to programs that are simpler and more efficient than those constrained to employ only one synchronization mechanism. Several SR solutions to a simulation problem are presented and contrasted with an Ada solution to the same problem. The paper also introduces a technique that exploits asynchronous message passing to program concise solutions to several problems involving lists. In the context of the simulation problem, this technique is used to manage the event list and the list of blocked processes. The technique can also be applied to several other concurrent programming problems. The results of this paper should be of interest both to programmers using concurrent programming languages and to language designers. Copyright © 1990 John Wiley & Sons, Ltd
引用
收藏
页码:1187 / 1208
页数:22
相关论文
共 50 条