[Lazarus] fpWeb and server-sent events

Luca Olivetti luca at wetron.es
Thu Jun 4 17:10:03 CEST 2020


El 4/6/20 a les 17:07, Sven Barth ha escrit:

> 
>     TThread.Synchronize needs a TThread as the first parameter.
>     This is my work in progress
> 
> 
> The thread parameter can be Nil. TThread will then use the CurrentThread 
> threadvar and failing that it can also work without any thread object.
> 
> In fact it is safer not to pass a thread.

Oh, I didn't know that. Thank you.

Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007


More information about the lazarus mailing list