Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #196756

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

From marc nicole <mk1853387@gmail.com>
Newsgroups comp.lang.python
Subject Re: [Tutor] How to stop a specific thread in Python 2.7?
Date 2024-09-26 03:34 +0200
Message-ID <mailman.11.1727314460.2990.python-list@python.org> (permalink)
References <CAGJtH9QwwYDRcqkM7Vtgy_ZraOZbrCcsyGODveNPFtpT7+L_6g@mail.gmail.com> <ZvSzeyCOL1fd97UJ@cskk.homeip.net> <CAGJtH9ReXKatCd45MXcqQqr+2ZA3y0i_hwyK_4ETDUw+W-1jQw@mail.gmail.com>

Show all headers | View raw


Could you show a python code example of this?


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

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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: [Tutor] How to stop a specific thread in Python 2.7? marc nicole <mk1853387@gmail.com> - 2024-09-26 03:34 +0200

csiph-web