Sign in Join
FPDoc Onlineexperiment

Thread programming

  1. IntroductionFree Pascalsupports thread programming: There is a language construct available for thread-local storage ( ThreadVar ), and cross-platform low-level thread rout
  2. Programming threadsTo start a new thread, the BeginThread function should be used. It has one mandatory argument: the function which will be executed in the new thread. The result
  3. Critical sectionsWhen programming threads, it is sometimes necessary to avoid concurrent access to certain resources, or to avoid having a certain routine executed by two thread
  4. The Thread ManagerJust like the heap is implemented using a heap manager, and widestring management is left to a widestring manager, the threads have been implemented using a thr

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.