Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

CodeTyphon and MTProcs 5 years 5 months ago #12852

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 75
  • Thank you received: 0
Hello,
I'm trying to use ProcThreadPool.DoParallel but the unit MtProcs ther's not present, and I want to know how implement it is possible,
now i'm compiling win32 on windows 10.
Thanks in advance

Please Log in or Create an account to join the conversation.

CodeTyphon and MTProcs 5 years 5 months ago #12853

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Thanks Sir

the unit MtProcs.pas is in the lz_MultiThreadProcs package from Ver 6.2.1 Date 21-05-2017
this units has in TProcThreadPool class
procedure DoParallel(const AMethod: TMTMethod;
      StartIndex, EndIndex: PtrInt;
      Data: Pointer = nil; MaxThreads: PtrInt = 0); inline;
    procedure DoParallel(const AProc: TMTProcedure;
      StartIndex, EndIndex: PtrInt;
      Data: Pointer = nil; MaxThreads: PtrInt = 0); inline;
    procedure DoParallelNested(const ANested: TMTNestedProcedure;
      StartIndex, EndIndex: PtrInt;
      Data: Pointer = nil; MaxThreads: PtrInt = 0); inline;


Your CodeTyphon Version ?

PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.
  • Page:
  • 1