Python threading - event

MRAB python at mrabarnett.plus.com
Sun Feb 17 12:29:50 EST 2019


On 2019-02-17 09:52, Prahallad Achar wrote:
> Hello Friends,
> I got an requirement as stated below,
> 
> 1. main thread will be running and other event should run parallel
> In more detail
> One function will be keep dumping data and other event function should
> trigger at some event but dumping data should be keep running.
> 
> Sorry, I can not give any example as I couldn't come up with solution hence
> am writing here.
> 
Use a queue. It's defined in the queue module.


More information about the Python-list mailing list