[Lazarus] Serial communication??

Luca Olivetti luca at wetron.es
Fri Oct 1 08:53:45 CEST 2010


En/na Michael Schnell ha escrit:
>  On 09/30/2010 02:58 PM, Luca Olivetti wrote:
>>
>>
>> It is if you use SyncObjs
> 
> (How) Can SyncObjs be used to from a thread fire asynchronous events in 
> the main thread that are scheduled "between" the GUI events that are 
> fired asynchronously anyway ?

Oh, I thought you were talking about protecting access to 
variables/structures, for that you can use cross-platform the classes 
defined in syncobjs.
To fire events in the main thread there's synchronize, but you're right, 
that's not asynchronous.

Bye
-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 (Ext.133)  Fax +34 93 5883007




More information about the Lazarus mailing list