| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: kill |
From: "Rich"
This is a multi-part message in MIME format.
------=_NextPart_000_034E_01C5C014.C8AF0780
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Almost. You hit the nail on the head about there sometimes being no =
visible effect if blocked in a system call. There is an effect though. =
The process is killed and will terminate when it is unblocked. Just =
because an API can be blocking doesn't mean it has this behavior. Most =
blocking calls are interruptable.
Rich
"Paul Ranson" wrote in message =
news:4333e479$1{at}w3.nls.net...
Things may have changed but I'm pretty sure that 'kill -9' can have no =
effect in some conditions, if the process is blocked in some system =
calls=20
for example. IOW the signal will be handled when the call returns, but =
the=20
call never returns and isn't interruptible.
If you get an NT process you cannot terminate try attaching to it with =
a=20
debugger, that usually makes it see sense.
Paul
"Mike '/m'" wrote in message=20
news:l1b6j19bo6ummoit70h9snroig3mmjq5ui{at}4ax.com...
> Should be:
>
> In the *nix's I have used, there is the regular kill (kill -15) that
> nicely asks the app to shutdown. Then for those obstinate apps, =
there
> is the kill option (kill -9) that pretty much just terminates the
> process, releases memory, and brushes the crumbs off the table.
> Obviously, you do not use kill -9 on a whim, but it is nice to know =
it
> is there when needed.
>
> /m=20
------=_NextPart_000_034E_01C5C014.C8AF0780
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Almost. You hit the =
nail on the=20
head about there sometimes being no visible effect if blocked in a = system=20
call. There is an effect though. The process is killed
and = will=20
terminate when it is unblocked. Just because an API can be = blocking=20
doesn't mean it has this behavior. Most blocking calls are=20
interruptable.
Rich
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)SEEN-BY: 633/267 270 5030/786 @PATH: 379/45 1 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.