Basic asyncio usage

Benjamin Risher brisher777 at
Tue Nov 25 15:33:57 CET 2014

On Monday, November 24, 2014 10:26:42 AM UTC-6, Marko Rauhamaa wrote:
> Benjamin Risher <brisher777 at>:
> > I was wondering if you ever made progress with your asyncio project.
> > I'm currently digging around for examples and reference material and
> > came across your post.
> >
> > I'd be interested in any tips/gotchas/examples you'd be willing to
> > provide as far as asyncio.
> Here's an implementation of the classic Dining Philosophers problem:
>    <URL:>
> The main object of the example is to see how multiple inputs can be
> multiplexed using asyncio.wait(FIRST_COMPLETED).
> Marko


Thank you for the reply.  I've never heard of the Dining Philosophers problem until now.  After reading up on it, I can see why it comes up when talking about concurrent programming.  I'll add this to my list of examples to dig through.  


More information about the Python-list mailing list