[fpc-devel] "Signals"
    Michael Van Canneyt 
    michael at freepascal.org
       
    Fri Sep 26 10:38:04 CEST 2014
    
    
  
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.
    
    
More information about the fpc-devel
mailing list