Fibers

Sean Kelly sean at invisibleduck.org
Wed Oct 22 11:52:59 PDT 2008


Don wrote
> 
> OT: When I first read about fibers (in Microsoft docs) I found the 
> terminology terribly confusing. Until I realized that "fiber" was the US 
> spelling of "fibre", at which point the connection with threads became 
> understandable. I still don't like the name, since OS threads aren't 
> really made of "fibers". You're just switching stacks. One aspect of 
> implementing threads is switching stacks. And that's the extent of the 
> relationship, as far as I can tell.

I think the analogy fits in that a thread is made up of one or more 
fibers.  The term "StackThread" didn't workfor me because all threads 
have a stack.  I considered "ThreadContext" as well, but finally decided 
that "context" may be too loaded a term in this context (no pun intended).


Sean



More information about the Digitalmars-d mailing list