home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume27
/
distributed-c-2.1
/
part01
/
examples
/
test
/
test.dc
< prev
Wrap
Text File
|
1993-12-22
|
359b
|
30 lines
process spec test();
process body test()
{
printf("%s test terminating\n", _processprefix);
fflush(stdout);
}
process spec creator();
process body creator()
{
int i;
for(i = 1; i<= 20; i++)
create test();
}
main()
{
int i, anz;
anz = atoi(argv[1]);
for(i = 1; i<=anz; i++)
create creator();
puts("Waiting for input");
scanf("%d", &anz);
}