Len Lawrence wrote:
>
> Sorry folks - wrong end of the stick again. The exit command does not give
> the user the ability to terminate the process but only to perform actions
> on closedown. The normal C exit function compiles all right but is it the
> correct way to kill a process in EPICS?
>
Calling exit() within the vxWorks environment causes the vxWorks
task to terminate. This will cause CA to clean up via its task
delete handler. The sequencer also has a task exit handler and it
should also cleanup when an abrupt task termination occurs.
Calling "exit()" from with in the sequence program should be
roughly equivalent to deleting a sequence program task from the shell.
Jeff
--
______________________________________________________________________
Jeffrey O. Hill Internet [email protected]
LANL MS H820 Voice 505 665 1831
Los Alamos, NM 87545 USA FAX 505 665 5107
- References:
- Re: SNL exit question Len Lawrence
- Navigate by Date:
- Prev:
Re: Hknitro60 + epics John R. Winans
- Next:
iocLog - wishlist Gabor Csuka
- Index:
1994
1995
<1996>
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: SNL exit question Len Lawrence
- Next:
Hknitro60 + epics Greg Greene
- Index:
1994
1995
<1996>
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|