Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.0.0 / tests / webtbs / tw15821.pp
Size: Mime:
{$mode objfpc}{$H+}

uses
{$ifdef unix}
  cthreads,
{$endif}
  Classes;

begin
  writeln('GetThreadID=', ptrint(GetThreadID));
  writeln('GetCurrentThreadID=', ptrint(GetCurrentThreadId));
  writeln('MainThreadID=', ptrint(MainThreadID));
  if (GetThreadID<>GetCurrentThreadID) or
     (MainThreadID<>GetThreadID) then
    halt(1);
end.