Example of the Producer–Consumer problem solved with concurrent Greenthreads. Gracefull shutdown is implemented with sentinal values.
tegk/Python_Gevent_PCP_Example
Example of the Producer–Consumer problem solved with concurrent Green-threads. Graceful shutdown via signal is implemented with sentinel values.
Python