On 17/01/14 15:21, Antonio Fortuny wrote:
Le 17/01/2014 16:02, Lukasz Sokol a écrit :
Hello Antonio,
Do you care (enough) to share ? :)
Absolutely not: I'm just thinking that some FPC specialists over
there could even enhance it. Just tell me how and where (I already
have an access to
DaemonApp works using threads.
TFPTimer is not usable in threads other than the main thread.
Right. So I made my own Timer based on the TFPTimer. Almost the same
code except that the Synchronize(@EventProc) disapeared in my code and
the EventProc is called immediately.
Another little feature
On 17/01/14 14:56, Antonio Fortuny wrote:
DaemonApp works using threads.
TFPTimer is not usable in threads other than the main thread.
Right. So I made my own Timer based on the TFPTimer. Almost the same
code except that the Synchronize(@EventProc) disapeared in my code
and the EventProc
Le 17/01/2014 16:02, Lukasz Sokol a
crit:
Hello Antonio,
Do you care (enough) to share ? :)
Absolutely not: I'm just thinking that some FPC specialists over
there could even enhance it. Just tell me how and where (I already
have an access
Hi Folks.
Following a Michael advice I changed a TTimer by an TFPTime component in
a Linux daemon application but the latter doesn't work.
There is the code snippet of the TFPTime OnTimer event:
procedure TDaemon1.ThreadControlTimerTimer(Sender: TObject);
var
Res: Boolean;
begin
// se
On Wed, 15 Jan 2014, Antonio Fortuny wrote:
Hi Folks.
Following a Michael advice I changed a TTimer by an TFPTime component in a
Linux daemon application but the latter doesn't work.
There is the code snippet of the TFPTime OnTimer event:
procedure TDaemon1.ThreadControlTimerTimer(Sender: