Fiber (computer Science)

Fiber (computer Science)

In computer science, a fiber is a particularly lightweight thread of execution.

Like threads, fibers share address space. However, fibers use co-operative multitasking while threads use pre-emptive multitasking. Threads often depend on the kernel's thread scheduler to preempt a busy thread and resume another thread; fibers yield themselves to run another fiber while executing. The article on threads contains more on the distinction between threads and fibers.

Read more about Fiber (computer Science):  Fibers and Coroutines, Advantages and Disadvantages, Operating System Support

Famous quotes containing the word fiber:

    I am an invisible man.... I am a man of substance, of flesh and bone, fiber and liquids—and I might even be said to possess a mind. I am invisible, understand, simply because people refuse to see me.
    Ralph Ellison (b. 1914)