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

marc nicole mk1853387 at gmail.com
Wed Sep 25 21:34:05 EDT 2024


Could you show a python code example of this?


On Thu, 26 Sept 2024, 03:08 Cameron Simpson, <cs at cskk.id.au> wrote:

> On 25Sep2024 22:56, marc nicole <mk1853387 at gmail.com> 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  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>


More information about the Python-list mailing list