Basic asyncio usage
Benjamin Risher
brisher777 at gmail.com
Tue Nov 25 09:33:57 EST 2014
More information about the Python-list mailing list
Tue Nov 25 09:33:57 EST 2014
- Previous message (by thread): Basic asyncio usage
- Next message (by thread): Loading Python 2.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Monday, November 24, 2014 10:26:42 AM UTC-6, Marko Rauhamaa wrote: > Benjamin Risher <brisher777 at gmail.com>: > > > 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: http://pacujo.net/~marko/philosophers.py> > > The main object of the example is to see how multiple inputs can be > multiplexed using asyncio.wait(FIRST_COMPLETED). > > > Marko 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. Ben
- Previous message (by thread): Basic asyncio usage
- Next message (by thread): Loading Python 2.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list