Skip to content

Instantly share code, notes, and snippets.

@wellington1993
Last active August 30, 2017 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wellington1993/69ad36b5aecca08643c89085b88393d3 to your computer and use it in GitHub Desktop.
Save wellington1993/69ad36b5aecca08643c89085b88393d3 to your computer and use it in GitHub Desktop.
Delphi AnonymousThread
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