[fpc-devel] Threads and alot of crap continued

Vinzent Hoefler JeLlyFish.software at gmx.net
Wed Nov 8 11:33:28 CET 2006


On Wednesday 08 November 2006 10:26, Ales Katona wrote:

> This is an old problem, and not fixable by wishing it. If you want a
> good async. timer, sure make one, but don't expect it to work safely
> by magic.

I'm sure I won't, I'm paranoid. :)

> That's what I ment, it won't simply "just work without implications"
> like TThread SEEMS to.

Alright, yes. But as soon as you start overriding Thread.Execute the 
user (as in programmer) should start thinking about those issues 
anyway, so I didn't consider that a show-stopper. Maintaining 
thread-safety ain't so complex once you start following some simple 
rules.


Vinzent.




More information about the fpc-devel mailing list