[Lazarus] New application type: HTTP standalone server

Michael Schnell mschnell at lumino.de
Mon Jun 6 17:09:57 CEST 2011


On 06/06/2011 03:38 PM, Graeme Geldenhuys wrote:
> Anyway, I must add that I do have an interest in a separated event
> loop... right down  to each thread having it's own  event loop.

I feel that once a decent event queue object is implemented 
independently of any Widget set, same can be instantiated and used by 
the main thread (in the TApplication code, linking it in a way that GUI 
events work appropriately, if we are in a GUI enabled Widget Type). Same 
also can be instantiated by an appropriate TThread Type 
(TThreadApplication or something like this) too (not using GUI 
mechanisms to fire Events and using OS means to wait for something to be 
scheduled) to allow for event driven programming in other threads, too.

Is I said: I suppose the critical part is designing the proper interface 
of the class.

-Michael




More information about the Lazarus mailing list