[Lazarus] Advice needed for serial comm with Lazarus

Michael Schnell mschnell at lumino.de
Mon Nov 8 16:53:19 CET 2010

On 11/08/2010 01:09 PM, Mark Morgan Lloyd wrote:
> Put a state machine or equivalent /inside/ the thread that's reading 
> the data from the port, using select() etc. 
Select is Linux-only, I suppose he want to do portable code,

> Only fire the "got data" event 
How to "fire an event" in the thread that the main thread is supposed to 
handle ?
> when you've received an intact message or know that it's timed out or 
> corrupt.

More information about the Lazarus mailing list