Experimental Physics and Industrial Control System
On 5/18/11 10:36 AM, Benjamin Franksen wrote:
> See above. Maybe you have been looking at an older relese?
Hi, Ben.
No, I was looking at 3.14.12.1.
If assertions are enabled and the EPICS assert is being used,
then epicsThreadSuspendSelf() will be called by all those
functions I listed which use assert. As Dirk pointed out, for
some of these that's OK, so I shouldn't have listed them. But
for the *MustCreate functions, the thread will be suspended if
the system is out of memory.
And then there's my related note problem where the behavior is
different depending on whether assertions are enabled. For the
*MustCreate functions, if assertions are enabled, the thread
suspends if there's not enough memory. If assertions are
disabled, the application likely crashes somewhere else because
the memory was not allocated.
Lewis
- Replies:
- Re: caGateway crashes / use of *MustSucceed functions Andrew Johnson
- References:
- caGateway crashes / use of *MustSucceed functions Dirk Zimoch
- Re: caGateway crashes / use of *MustSucceed functions J. Lewis Muir
- Re: caGateway crashes / use of *MustSucceed functions Benjamin Franksen
- Navigate by Date:
- Prev:
Re: caGateway crashes / use of *MustSucceed functions Benjamin Franksen
- Next:
Re: caGateway crashes / use of *MustSucceed functions Andrew Johnson
- 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: caGateway crashes / use of *MustSucceed functions Benjamin Franksen
- Next:
Re: caGateway crashes / use of *MustSucceed functions Andrew Johnson
- 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