Le lun 03/03/2003 à 23:11, Christophe Espern a écrit :
Hello,
After a short night :
> I tried nanosleep but the task assign to the thread seems to failed.
I confirm : nanosleep works well. The task has a problem.
> The task executed in the thread is the following (I'm using
>
Hello,
I'm playing with threads by using the TThread object under Linux with
FPC 1.06.
What is the equivalent to the sleep function found in Delphi ?
I tried nanosleep but the task assign to the thread seems to failed.
procedure TVAProcess.Execute;
var tm:timespec;
begin
while not Terminated