home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Otherware
/
Otherware_1_SB_Development.iso
/
amiga
/
programm
/
libs
/
easyproc.rea
< prev
next >
Wrap
Text File
|
1992-11-11
|
2KB
|
68 lines
Easy Processes
»»»»»»»»»»»»»»
This is a process control library. You can easily launch threads,
pass them data, send them kill signals and wait for their termination
with a few simple calls.
Functions
»»»»»»»»»
The library contains eigth (8) user-accessible functions. They
were designed to add no new data types or conventions, to be easily
integrated in your programs. They provide just enough functionnality
without bothering you with any low-level nightmare. Here's a rundown
of their names and basic uses, their exact descriptions are contained
in the comment in the beginning of the source file.
StartProcess
start a process on a C function, with a name and a priority.
KillProcess
send a kill signal to a process.
KillProcesses
send a kill signal to all the processes you spawned.
WaitProcess
wait until the process finishes.
WaitProcesses
wait until all the processes you spawned are finished.
CheckKill
check if someone has sent you a kill signal.
CheckAlive
check if a process is still alive.
FlushProcesses
Free ressources tied to processes you spawned that are
finished, leave the others undisturbed.
How the &^%$@ do I use them ???
»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
Well, there's two example programs provided with the library and
they are fully documented.
One is a simple `file loop' program used to tie two file together
so they can interchange information in both direction at the same
time. You can use it to link a RAW: console to your modem (via SER:)
and thus have a simple terminal !
The other is a fractal-like generator based on an article in an
old Scientific American. While the program is generating an image on
the screen, you can still use all the program's functions, including
starting another fractal on the same screen !
--
dak@info.polymtl.ca
Pierre Baillargeon
11555 Joseph-Boyer
MontrΘal, QuΘbec, Canada
H1G 4X6
--