Thread programming
- IntroductionFree Pascalsupports thread programming: There is a language construct available for thread-local storage ( ThreadVar ), and cross-platform low-level thread rout
- 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
- 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
- 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.
