Last active
August 30, 2017 13:33
Star
You must be signed in to star a gist
Delphi AnonymousThread
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var | |
myThread : TThread; | |
begin | |
myThread := TThread.CreateAnonymousThread( procedure begin | |
// seu codigo que deseja ser executado dentro da thread | |
end); | |
myThread.start(); | |
end; | |
//From https://pt.stackoverflow.com/questions/105396/como-criar-uma-anonymous-thread-em-delphi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment