I found that for one of my applications the size of the registry's
hash table was too small. However, it is impossible to make it
bigger (w/o recompiling EPICS, that is -- or using a special
prioritized C++ global constructor hack).
registrySetTableSize() can only be called before the hash table
is lazy-initialized but that apparently happens from some C++
global constructor already so that the application gets it's shot
too late (i.e., even the first line of 'main()' is too late).
(Since the registry is used for registering function names for
iocsh etc. it is impossible to set the table size from a startup
script anyways.)
-- Till
PS: An alternate 'general-purpose' hash implementation using
the linear-hashing algorithm could be explored. This would avoid
having to set static table sizes.
- Replies:
- Re: registrySetTableSize() unusable Andrew Johnson
- Navigate by Date:
- Prev:
problem running bash script with MEDM on Windows/Cygwin Jay Steele
- Next:
epicsMessageQueue Linux PREEMPT_RT james.rowland
- 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: problem running bash script with MEDM on Windows/Cygwin Andrew Johnson
- Next:
Re: registrySetTableSize() unusable 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
|