[fpc-pascal]Additional... Pseudo-Thread

Jens Rosenthal mail at jason.de
Fri Sep 21 10:40:52 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

Sorry for forgetting an important part.

I'm trying this on linux.

More information about the fpc-pascal mailing list