Messaging System Implementation
Document formatted by vherva at Fri Apr 24 11:23:44 1998 on the host schemestation. This document is produced by the SchemeStation project during the Tik-76.115 course.
| |||||||||||||||||
1 Introduction | |||||||||||||||||
The implementation of the messaging system is fairly straightforward; the messaging queues can be held in the address entry struct in the addressing system. In addition to this, only few functions have to be implemented. Despite of the simplicity of the messaging system, it is convenient to make a separate module, mainly to have a clean interface to the messaging functions.
| |||||||||||||||||
2 Data structures | |||||||||||||||||
The message queue is implemented as a linked list. The list is placed in the in the ActorEntry-struct of the agent that is kept in the hash table of the addressing addressing system (see [Addressing module implementation].)
| |||||||||||||||||
3 Functions | |||||||||||||||||
All the the needed functions were described in [Messaging System Specification]. The interface is described below.
| |||||||||||||||||
4 The functions of module Messaging | |||||||||||||||||
File messaging.h C-functions:
|
© SchemeStation project 1997-1998 | [Back to the document index] |