On Thursday, August 30, 2012 18:34:53 Kim, Kukhee wrote:
> Hi Benjamin and everyone;
>
> The seq() has returned the thread id in the previous version, but it does
> not return the thread id anymore in the new the implementation. We know
> that, if there are multiple state sets in the SNL program, then the seq()
> creates multiple threads which are corresponded to each state set. So, the
> thread id returning is not meaningful, it only shows the thread id for the
> first one.
>
> But, the thread id returning is still valid for single state set, and also
> need to consider for the backward compatibility. One of our colleague in
> SLAC has used the thread id returning from the seq(), and has trouble now
> with the new implementation of the seq().
>
> I am wondering, if someone else uses the thread id returning.
> And, I would like to discuss, if we can switch it back to the old way.
> Even, the seq() returns the thread id, it is not harmful and we can keep the
> backward compatibility.
Hi Kukhee
It never occurred to me that people would rely on the return value of seq() to
be the thread id of the first state set. My reasoning for making it return
void was simply to mimick the behaviour it has when called as a iocsh shell
function (these cannot return a value). I will revert that change for the next
maintenance release (seq-2.1.10).
--
Ben Franksen
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments Attachment:
signature.asc
Description: This is a digitally signed message part.
- References:
- retrun value (thread id) for seq() Kim, Kukhee
- Navigate by Date:
- Prev:
Re: put to disabled records and monitors Dirk Zimoch
- Next:
Re: put to disabled records and monitors 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:
retrun value (thread id) for seq() Kim, Kukhee
- Next:
modbus R2-4 write 32bit int with modbus function 16 Fabian
- 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
|