[lazarus] TThread.Synchonize

Michael Van Canneyt michael.vancanneyt at wisa.be
Tue Mar 13 06:17:03 EST 2001




On Tue, 13 Mar 2001, Marc Weustink wrote:

> + From: michael at idefix.wisa.be
> + [mailto:michael at idefix.wisa.be]On Behalf Of
> + Michael Van Canneyt
> +
> + On Tue, 13 Mar 2001, Marc Weustink wrote:
> +
> + > Hi,
> + >
> + > Can somebody tell me what the status is on the Linux
> + implementation of
> + > Synchonize, since it looks like the current implementation
> + isn't finised :(
> +
> + The status is 'unknown'.
> +
> + At the moment, I would advise not to use threads. We are
> + working on a decent threading support at the level of the
> + system unit (i.e. threadvar and so on)
> + and as long as this isn't finished, using threads is risky at best.
> 
> Over here I haven't needed threadvars till so for so...
> But without sync it is even less usefull.
> 
> Do you have any other option to "listen" to a pipestream if new data arrives
> ?

Sure, use the tasyncio object. See also the socket server demos of the FCL.

Michael.






More information about the Lazarus mailing list