[fpc-pascal]Pseudo-Thread

Jens Rosenthal mail at jason.de
Thu Sep 20 22:19:48 CEST 2001


Hi Everyone,

hope you can help me with my question...


I'd like to have several instances of my program running at the same time,
working apart from one another.

The problem is, every instance takes 99.8 % CPU time, so only the first
instance is running, then the second, and so on.
In Java I would define the program as thread and let the thread sleep at
certain points in execution, so that the other instances can take their
time.

any ideas how I could handle this behavior with fpc?

many thanx in advance,

Jens





More information about the fpc-pascal mailing list