On programming atomic actions in Ada 95

被引:0
作者
Romanovsky, A [1 ]
Mitchell, SE
Wellings, AJ
机构
[1] Univ Newcastle Upon Tyne, Newcastle Upon Tyne NE1 7RU, Tyne & Wear, England
[2] Univ York, York YO1 5DD, N Yorkshire, England
来源
RELIABLE SOFTWARE TECHNOLOGIES - ADA-EUROPE '97 | 1997年 / 1251卷
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper describes the development of two kinds of atomic action schemes for Ada 95. We start by discussing the basic features required of an atomic action scheme and what choices, e.g. between synchronous and asynchronous actions, are appropriate for Ada 95. We then present two implementations of actions; first using Ada 95 packages to create asynchronous actions and secondly, as sets of tasks for synchronous actions. For each action type, we present code fragments illustrating their development and use. Finally, we discuss some related issues (exception resolution, action nesting, state restoration, software re-use and extension, preventing information smuggling, distributed execution) which have been addressed in our work and show some of the problems encountered (the deserter problem, using different sorts of interparticipant communications and resources).
引用
收藏
页码:254 / 265
页数:12
相关论文
共 12 条
[1]  
BURNS A, 1996, P AD EUR 96 SWITZ, P58
[2]   ERROR RECOVERY IN ASYNCHRONOUS SYSTEMS [J].
CAMPBELL, RH ;
RANDELL, B .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1986, 12 (08) :811-826
[3]  
GREGORY ST, 1989, P FTCS 19 US, P506
[4]  
*INT INC, 1995, 8652 ISOIEC INT INC
[6]  
Lee P. A., 1990, Fault Tolerance: Principles and Practice, V2nd
[7]  
Randell B., 1975, IEEE T SOFTWARE ENG, V1, P220
[8]  
Randell B., 1994, SOFTWARE FAULT TOLER, P1
[9]   BACKWARD ERROR RECOVERY VIA CONVERSATIONS IN ADA [J].
ROMANOVSKY, A ;
STRIGINI, L .
SOFTWARE ENGINEERING JOURNAL, 1995, 10 (06) :219-232
[10]  
ROMANOVSKY A, 1996, 560 TR U NEWC COMP D