Showing posts with label async. Show all posts
Showing posts with label async. Show all posts

Thursday, April 12, 2012

Awaitable Queues Part 2: Unbounded Awaitable Queue

As a first attempt to write an awaitable queue, the queue is unbounded. The producer side of the queue is then synchronous and we can concentrate on making consumer side awaitable. The code for the can be found at the end of this post.