[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python threading - event

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.