"Delphi" programavimas - lygiagretus kodo vykdymas
"Delphi" Programming - Parallel Code

Author(s): Raigedas Radišauskas, Marijus Bernotas
Subject(s): Other
Published by: VšĮ Šiaulių universiteto leidykla

Summary/Abstract: At the beginning all machines ran a single process. While running a program, it had an exclusive use of all resources of the computer. Later things moved on. The concept of multiple threads of execution first appeared with time sharing systems where more than one person could be logged into a central mainframe computer at once. It was important to ensure that the processing time of the machine was fairly divided between all users, and the operating systems of the time made use of the „process“ and „thread“ concepts. Early DOS and Windows systems were single tasking. The program ran exclusively on the machine or not at all. With increasingly sophisticated applications and an increasing demand for personal computers, especially with respect to high performance in the graphics and networking areas, multiprocess and multithread operating systems are now commonplace. Multithreading on PCs has been mainly driven by the need for better performance and usability. Threads are useful doing lengthy processing, background processing, I/O work and making use of multiprocessor systems. The usage of threads raises additional challenges such as synchronization of threads and deadlock prevention. These problems can be solved by using „Critical Sections“, appropriate functions and other techniques.

  • Issue Year: 2005
  • Issue No: 2(6)
  • Page Range: 73-77
  • Page Count: 5
  • Language: Lithuanian