multitasking
multitasking copied to clipboard
Killing a Process
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!