multitasking icon indicating copy to clipboard operation
multitasking copied to clipboard

Killing a Process

Open music-cat-bread opened this issue 3 years ago • 0 comments

Hi. I know this isn's a issue, but how I am supossed to kill a process or add something like daemon flag that is used in threads?

And here is more detailed reason. I am making a mobile app, and there will be a process that work in background and communicate with server, and it can not be a thread because then GUI can easily be broken. And a lot of times process will be stuck on .recv() from a socket library and it don't have a way to stop until:

  • Server will went down. (it will not happen obviously)
  • Something will kill it. (and this is what I want)

Thanks!

music-cat-bread avatar Dec 16 '21 22:12 music-cat-bread