On Fri, 26 Sep 2014, Michael Schnell wrote:
On 09/26/2014 09:39 AM, Michael Van Canneyt wrote:
You can use the Observer pattern; it is in the classes unit.
I'll take a look.
And to be honest, this is not a language concept, but a library concept.
AFAIK he mentioned QT as a library providing this.
It can be easily implemented.
If so I assume that somebody already did it.
Yes, I have.
To allow for doing this with thread, an event queue for worker threads needs
to be provided.
Huh? WHY ?
The implementation must be thread safe, but that's about it.
Michael.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel