[Lazarus] SVN checkout of Lazarus using TortoiseSVN?

Bo Berglund bo.berglund at gmail.com
Fri Oct 1 15:54:30 CEST 2010


  On 10/01/2010 11:10 AM, Bo Berglund wrote:

So far most of what has been shown builds on Synaser or similar, which
are blocking systems....

To do a program that does serial communication and at the same time can do anything else (e.g. handle a GUI, handle other serial ports or TCP/IP ports), you either need to do the serial communication completely in a thread (and thus deal with the dirty implications of multi-threaded programming in the main program) or create/use a toolbox (such as AsyncPro) that internally does the thread based stuff and provides mainthread events to the user.

-Michael





More information about the Lazarus mailing list