Fibers

Fibers are a sort of schedule-your-own thread. Like threads, fibers provide state information and execution context in the form their own stack and CPU registers. Unlike threads, however, fibers aren't preemptively scheduled by the operating system. Instead, it is the developer's responsibility to switch between multiple fibers of execution. From an application design point of view, there are probably few occasions when you will elect to use fibers instead of a multithreaded architecture, except in the infrequent case in which you want to receive the context benefits of multiple stack and CPU register states without having to worry about thread synchronization issues.

Note

Fibers are available on Windows NT 3.51 SP3 and higher, Windows ...

Get Borland® Delphi™ 6 Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.