[Lazarus] New application type: HTTP standalone server

Michael Schnell mschnell at lumino.de
Mon Jun 6 14:26:32 CEST 2011


On 06/06/2011 02:18 PM, Michael Schnell wrote:
> ... and using threads only very thoughtfully when it really makes sense..

E.g. receiving data from asynchronous links or TCP/IP is done in objects 
that contain an internally hidden thread that waits for incoming data. 
When data is received, a main thread event is fired and the programmer 
can happily use this data without bothering at all about thread 
synchronization.

Of course this works with any number of instances of such objects, while 
the application programmer does not see any threads at all.

-Michael





More information about the Lazarus mailing list