Hello, fpc-developer list.
As "Events" (i.e callbacks at the time being) are syntactically done as
properties, could it be possible that property attributes on the long
run could help implementing "thread Events" (i.e. a class "fires" an
event not as a callback (usually using a the main thread, but if
programmed like that using a thread it defines) but uses a thread the
program that sets the handler property defines ? Here the programmer
does not need to write code that passes the parameters to the thread:
the RTL does all this dirty stuff, helping less advanced programmers to
do threaded applications <like it's usually done with ADA>.)
-Michael
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel