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

Kuba Ober kuba at mareimbrium.org
Tue Oct 2 09:25:03 CEST 2001


> > 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.

Every instance won't take that much time when the others run. They will take 
99.8% collectively ;-).
Just try it (no, you didn't AFAICT).
Cheers,
Kuba




More information about the fpc-pascal mailing list