Re: [Tutor] How to stop a specific thread in Python 2.7?

marc nicole via Python-list <[email protected]> Thu, 26 Sep 2024 03:34:05 +0200
Newsgroups gmane.comp.python.general,gmane.comp.python.tutor
Message-ID <CAGJtH9ReXKatCd45MXcqQqr+2ZA3y0i_hwyK_4ETDUw+W-1jQw@mail.gmail.com>
Could you show a python code example of this?


On Thu, 26 Sept 2024, 03:08 Cameron Simpson, <[email protected]> wrote:

> On 25Sep2024 22:56, marc nicole <[email protected]> wrote:
> >How to create a per-thread event in Python 2.7?
>
> Every time you make a Thread, make an Event. Pass it to the thread
> worker function and keep it to hand for your use outside the thread.
> _______________________________________________
> Tutor maillist  -  [email protected]
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>