[fpc-pascal] TThread.Suspend under Linux

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Jun 2 12:38:39 CEST 2007


On 02 Jun 2007, at 12:35, Jonas Maebe wrote:

> Of course, since Windows provides such functionality, people  
> nevertheless depend on this. But when creating cross-platform code,  
> it's clearly a very bad idea (and several of the caveats mentioned  
> above can of course also hold true under Windows).

FWIW, similar functionality was also removed from Java after a while.  
Sun wrote an article explaining why this was done:
http://java.sun.com/j2se/1.4.2/docs/guide/misc/ 
threadPrimitiveDeprecation.html


Jonas



More information about the fpc-pascal mailing list