On 13.09.2013 18:29, Andrew Johnson wrote:
Hi Ralph,
On 09/13/2013 09:52 AM, Ralph Lange wrote:
On 13.09.2013 16:47, Ralph Lange wrote:
Maybe using a new magic number for TSE would be a cleaner solution:
"-3" = use timestamp of record that TSEL points to.
That would make things a lot more obvious and autoSaveRestore would
just work.
Dear fellow core-talkers,
Would that work? Or am I missing something?
I'm not sure how that could work.
Currently the pvlOptTSELisTime bit is set by recGblTSELwasModified()
being called after the link is initialized either from iocInit.c's
doResolveLinks() or from dbAccess.c's dbPutFieldLink(). At runtime if
recGblGetTimeStamp() sees the bit set it does not read TSE from TSEL
but just reads the timestamp through it instead.
I was thinking about using TSE=-3 instead of the pvlOptTSELisTime bit,
explicitly showing the mechanism used to fetch the stamp.
But your fix is simpler and practically does the same. Excellent!
Thanks a lot,
~Ralph
- References:
- Re: TSEL question Ralph Lange
- Re: TSEL question Ralph Lange
- Re: TSEL question Andrew Johnson
- Navigate by Date:
- Prev:
Re: TSEL question Andrew Johnson
- Next:
Build problem with 3.15-head Benjamin Franksen
- Index:
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: TSEL question Andrew Johnson
- Next:
Build problem with 3.15-head Benjamin Franksen
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|