next up previous
Next: processmanager Up: simula Previous: libsimsort

SimioProcess


     NAME
	  simioprocess - overview of classes in	SimIoProcess, SIMULA
	  library

     DESCRIPTION
	  SimIOProcess is a library with externally compiled classes
	  and procedures supporting writing real-time programs in
	  Simula. It contains support for Event	driven input and
	  output, as well as timers and	periodic tasks.

	  Processes in this package can	be used	to interact with
	  external processes such as other programs, on	local and
	  remote machines, the user, the windowsystems etc.
	  Communication	is through files, pipes, sockets.

	  Processes can	also communicate with each other, and there
	  are semaphores and monitors as well as message passing for
	  interaction between internal processes. The process concept
	  here is built	on the Simula context-switch facilities,
	  'call' and 'detach' (which can also be used to implement
	  co-routines),	but this is not	visible	for the	application
	  programmer.

     AUTHOR
	  Boris	Magnusson, Lund	Institute of Technology, Lund Software

     OVERVIEW OF CLASSES
	  The following	classes	are available, try 'simman' on them
	  (spelling all	filenames with low-case	only).

	  ProcessManager - singular object, scheduling user-defined
	  processes.

	  IOProcess - superclass of user-defined processes.

	  Semaphore - generalized S. with integer count	for
	  synchronization.

	  Monitor - relaxed P.B. Hansen	kind, for synchronization.

	  Predefined event-classes:  InputEvent/ OutputEvent/
	  IOTimeoutEvent/ UpdateEvent/ PeriodicEvent/ CancelEvent

	  BasicProcessEvent - superclass of user-defined event
	  classes.

     FILES
	  /usr/local/simulabin/	- default installation directory,
	  SIMULAHOME

     USE
	  More info:

		simman <class-name> (<class-name> in all lower-case)
	  Declaration:
		external class <ClassName>;
	  Compilation:
		    simcomp	<program>      -L=/usr/local/simulabin
	  -I=simioprocess.html :simlib
	  Linking :
		simld <programs> -lsimioprocess	-lsimlib