On Wed, Oct 6, 2010 at 11:23 AM, Sergei Gorelkin <[email protected]> wrote: > Tobias Giesen пишет: >> >> Hi, >> >> I think you shouldn't create suspended threads anyway. The Windows >> API docs say that suspend/resume is only for debuggers. To synchronize >> threads or to delay the starting of a thread you should use events, >> WaitForMultipleObjects etc. >> > Creating a suspended TThread is a different matter than suspending it later > on. > TThread has code to handle the initial suspend case, so there should be no > need in additional user code. Further, to differentiate between 'initial' > and 'subsequent' suspends, Delphi has introduced a method named 'Start'. It > was added to FPC recently, too.
Well, the problem was fixed. Bug reporter: http://bugs.freepascal.org/view.php?id=16884 Solution: http://cia.vc/stats/project/fpc/.message/b8ef19 Marcos Douglas -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
