Mail Archives: djgpp/2000/01/18/15:20:07
Erik Rull <erik_rull AT bluewin DOT de> wrote:
> Is it possible to launch another GCC - compiled programm with the
> extension ". " ?? And then another, so that they run nearly in a
> multitasking - system??
No. DOS is in the way -- it's a non-multitasking OS, and there's next
to nothing you can do about that, short of re-inventing Winblows...
> I've just used the "GrTask" example, where a simple multitasking is
> implemented.
That's not multitasking, really. It's multithreading, i.e. more than
one thread of execution inside *one* task. 'Task' is what the
operating system (DOS, for DJGPP programs) runs. On top of that, the
DJGPP libc is not really prepared for multithreading, itself, i.e. you
should not expect to be able to use it from concurrent threads of
execution. Only one thread of execution in your program may use the
libc.
> So when I try to launch another file in this environment (with
> system()), my system hangs up.
That's to be expected.
> P.S. Where can I get the go32.exe sourcecode, because I can't find it in
> my GCC 2.6.3 Distribution!!!
go32.exe? gcc-2.6.3? That's from the Jurassic age of DJGPP. No pun
intended but: Where have you been for the past, say, 4 years? go32.exe
has long since been discontinued and gcc is at version 2.95.2 now.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -