Greg --

In GT.M, this would be the expected behavior.  The JOB command forks a separate 
process that is completely independent of the process that executes the JOB 
command (indeed, the JOB'd process gets init as the parent process).  So, a 
kill -9 of the JOB'd process has no effect on the process executing the JOB 
command.

I don't know the semantics of the Cache JOB command, but they may be similar.

-- Bhaskar

-----Original Message-----
From:   [EMAIL PROTECTED] on behalf of Gregory Woodhouse
Sent:   Thu 11/3/2005 12:39 AM
To:     hardhats-members@lists.sourceforge.net
Cc:     
Subject:        Re: [Hardhats-members] Re: A troublesome and concerning 
error.....

On Nov 2, 2005, at 6:52 PM, Bhaskar, KS wrote:

>
> If a 9 (KILL) is results in GT.M dropping you to the direct mode  
> prompt, it would be a bug in the UNIX/Linux kernel not GT.M!  A  
> process cannot trap/block a kill -9 because the process never sees  
> it.  The kernel simply makes the process cease to exist.
>
> There's no bug here that the evidence points to.
>
> -- Bhaskar

You'd really have to work at it (at least I did):

In session 1:

USER>ZL ZZLOOP ZP
ZZLOOP   ;
          F  S X=1


USER>J ZZLOOP

USER>w "I am alive"  <== Note: This command is executed until AFTER  
session 2 completes
I am alive
USER>h
~:$

In session 2:

   426  ??  R      0:50.81 cache ZZLOOP^ZZLOOP
   420  p1  S      0:00.03 -bash
   423  p1  S+     0:00.03 /Applications/Cache/bin/cache -s / 
Applications/Cache/
   429  p2  S      0:00.03 -bash
~:$ kill -9 426



===
Gregory Woodhouse
[EMAIL PROTECTED]

"A hero is no braver than an ordinary
man, but he is brave five minutes longer."
-- Ralph Waldo Emerson





-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


<<winmail.dat>>

Reply via email to