Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
kill a thread
#3
the thread reads from a pipe from a ping process.

would it be possible to have the whole process with that thread just exit? that's all i need to do is exit. but that thread is preventing that. exiting this script will then reset the network so the pings work again. the purpose of the script is to quickly detect when a remote host can no longer be reached. the idea is N missing ping replies means it is down. then the invoking script resets it and does this, again.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
kill a thread - by Skaperen - Apr-10-2022, 07:17 PM
RE: kill a thread - by Gribouillis - Apr-10-2022, 07:37 PM
RE: kill a thread - by Skaperen - Apr-10-2022, 08:43 PM
RE: kill a thread - by Skaperen - Apr-10-2022, 08:46 PM
RE: kill a thread - by Gribouillis - Apr-10-2022, 09:57 PM
RE: kill a thread - by Skaperen - Apr-11-2022, 03:25 AM
RE: kill a thread - by Gribouillis - Apr-11-2022, 09:02 AM
RE: kill a thread - by snippsat - Apr-11-2022, 02:02 PM
RE: kill a thread - by Skaperen - Apr-14-2022, 01:32 AM
what's going on - by Skaperen - Apr-14-2022, 02:14 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020