Showing results for December 31, 2004 - The Old New Thing

Dec 31, 2004
Post comments count0
Post likes count0

Using fibers to simplify enumerators, part 3: Having it both ways

Raymond Chen
Raymond Chen

As we discovered in the previous two entries [second], the problem with enumeration is that somebody always loses. Now we will use fibers to fight back. Before you decide to use fibers in your programs, make sure to read the dire warnings at the end of this article. My goal here is to show one use of fibers, not to say that fibers are the answer ...

Code