[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Checking Process Status
From: |
David Kastrup |
Subject: |
Re: Checking Process Status |
Date: |
03 Feb 2003 23:29:52 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
"CarlC" <carlc@snowbd.com> writes:
> "David Kastrup" <dak@gnu.org> wrote in message
> x5wukhv20i.fsf@lola.goethe.zz">news:x5wukhv20i.fsf@lola.goethe.zz...
> > Save the old value of the process' sentinel, enter your own function
> > there, and have that do its work as well as calling the saved
> > sentinel.
>
> Thanks for the quick response, David. I guess I need to know why
> this is the case. If I can get a process-status, why do I need to
> modify the compile sentinel. Does the existing sentinel wrap it up
> so that I can't access it's status? This doesn't appear to be the
> case when I am debugging. I can set a variable and view its status
> as "run". If I can do this, why can't I add a conditional to check
> this status outside of the sentinel? I just want to know if the
> compilation process is running. Thanks, again.
Your code programmed a busy wait. That's ugly, butt-ugly. Instead
just let your code be run when the process has finished. Anyhow, if
at all, you would need to compare to symbols 'run and 'exit, not
strings.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Checking Process Status, CarlC, 2003/02/03
- Re: Checking Process Status, David Kastrup, 2003/02/03
- Re: Checking Process Status, Kevin Rodgers, 2003/02/03
- Re: Checking Process Status, CarlC, 2003/02/03
- Re: Checking Process Status,
David Kastrup <=
- Re: Checking Process Status, CarlC, 2003/02/03
- Re: Checking Process Status, Kevin Rodgers, 2003/02/03
- Re: Checking Process Status, Jay Belanger, 2003/02/04
- Re: Checking Process Status, Kevin Rodgers, 2003/02/10
- Re: Checking Process Status, Eli Zaretskii, 2003/02/11
- Re: Checking Process Status, CarlC, 2003/02/12
- Re: Checking Process Status, CarlC, 2003/02/12
- Re: Checking Process Status, David Kastrup, 2003/02/12
- Re: Checking Process Status, CarlC, 2003/02/12
- Re: Checking Process Status, David Kastrup, 2003/02/12