Delphi xe10 thread safe queue2/13/2023 To create a thread, declare a descendant of the TThread object and override the Execute method. The TThread class encapsulates the native thread support of the operating system. Property OnTerminate : TNotifyEvent Įxception that occurred during thread execution Indicates whether the thread is suspended. Is the thread instance an external thread ? Indicates whether the thread should free itself when it stops executing. Is the current system single processor or not Return the processor count for this system Waits for the thread to terminate and returns the exit status. Starts a thread that was created in a suspended state. Prevent thread execution in a spin-wait loopĬlass function GetTickCount deprecated Įxecute a method or static procedure in a threadĬode to be executed after construction but before execute. Remove methods scheduled for execution from queue Queue a method for execution in the main threadĬlass procedure NameThreadForDebugging () Ĭheck if the current thread has finished executing. Synchronizes the thread by executing the method in the main thread. Must be overridden in a descendant thread. Nice (reduced priority) code execution timeĮxecute method.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |