[Lazarus] How does one add an event to a blocking system?
leledumbo
leledumbo_cool at yahoo.co.id
Wed Oct 21 14:09:32 CEST 2015
> So if I use a thread to read data from the socket, how do I signal to
the main application that data are arriving using an event?
Exactly, using an event:
http://www.freepascal.org/docs-html/fcl/syncobjs/tevent.html
Here's an example of how to use:
RoundRobinExample.zip
<http://free-pascal-lazarus.989080.n3.nabble.com/file/n4044829/RoundRobinExample.zip>
--
View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-How-does-one-add-an-event-to-a-blocking-system-tp4044826p4044829.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
More information about the Lazarus
mailing list