On Concurrency

Russel Winder via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 25 11:38:18 PDT 2014


On Fri, 2014-04-25 at 17:10 +0000, Kagamin via Digitalmars-d-learn
wrote:
> Fibers are more lightweight, they're not kernel objects. Threads 
> are scheduled by kernel (usually). Fibers are better if you can 
> get better resource usage with manual scheduling - less context 
> switches, or don't want to consume resources need by threads.

Or to put it another way, fibres (!) are what threads were before the
hardware and kernel folks changed the game.
-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder



More information about the Digitalmars-d-learn mailing list