2012/10/24 Antonio Fortuny <[email protected]>:

> Question is: The two pieces of code for the timer(1) and the socket(2) will
> they be active when the main thread enters the wait state thru the
> WaitForSingleObject ?

Is this an LCL application? If yes then you may MOT block the main
thread that way. Neither the timer nor the lnet event would be able to
fire anymore, it would be frozen forever.

Why don't you just make it everything entirely evented and do not
block anything?

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to