[fpc-pascal] Call function in shared library from multiple threads

Henry Vermaak henry.vermaak at gmail.com
Fri Mar 31 18:15:32 CEST 2017


On Fri, Mar 31, 2017 at 08:42:24AM -0700, fredvs wrote:
> > Z:\home\fred\uos\examples\uos.pas(7438,29) Warning: (4046) Constructing a
> > class "TThread" with abstract method "Execute"
> 
> Huh, is it Is it serious doctor?

I use this:

function DummyThread(param: pointer): ptrint;
begin
  Result := 0;
  EndThread(Result);
end;

begin
  BeginThread(@DummyThread);
  ...
  ...
end.



More information about the fpc-pascal mailing list