gabr42 / OmniThreadLibrary

A simple and powerful multithreading library for Delphi
http://www.omnithreadlibrary.com
Other
465 stars 140 forks source link

Lazarus support? #112

Closed lainz closed 6 years ago

lainz commented 6 years ago

Hi, is possible to run this library on Lazarus FPC?

gabr42 commented 6 years ago

No idea but most probably no.

lainz commented 6 years ago

No problem, I found a solution already.

TThread.ExecuteInThread(@SendMail, @SendMailTerminate);

Is not as advanced, but it works the way I need.

TangMonk commented 6 years ago

why not support lazarus?

gabr42 commented 6 years ago

Because it does not support generics and anonymous methods.

TangMonk commented 6 years ago

@gabr42 seems Lazarus support Generics: http://wiki.freepascal.org/Generics, but there is a little different with Delphi

dtamade commented 5 years ago

There needs to be a layer of compatibility