On Dec 7, 2007 9:57 PM, Antonio Sanguigni <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> usually under windows my worker thread send a message to main thread with
> postmessage function to communicate simple data, such as integer to update
> progress percentage of worker thread status.
>
> With Lazarus and with cross-platform windows/Linux development, how is the
> way to go ?
You could use a List or SringList and a CriticalSection to queue
messages and extract them in the main form, it should work on all
platforms.
Razvan
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives