EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: epicsMessageQueue Linux PREEMPT_RT
From: Eric Norum <[email protected]>
To: Till Straumann <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Fri, 28 Jan 2011 10:30:59 -0800
Caveat -- the RTEMS code also does a lazy allocation but only if a Receive method/function is invoked with a size smaller than the maximum message size used to create the queue.

On Jan 28, 2011, at 10:22 AM, Till Straumann wrote:
> 
> Yes. But that's a hack (the user must know some implementation details of message queues). IMHO the default implementation (RTEMS and
> probably vxWorks are OK) could be improved.
> 
>> 
>> We probably should add a routine to the API to allow the eventFreeList to be
>> pre-allocated, but you probably want to be able to run on existing versions of
>> Base.
> 
> I'd consider such a routine a bit 'hackish'. I'd vote for improving the implementation. Of course, that would not be retroactive and your
> recommendation above could be used as a work-around on older versions.
> 
> - Till
>> 
>> Eric — unless you stole the code from someone else you were the author of all
>> the *MessageQueue.* files, 'bzr log' does not lie...
>> 
>> - Andrew
> 

>From the indenting style I infer that Marty Kraimer wrote the code and had me commit it......
Does that count as stealing???   :-)

-- 
Eric Norum
[email protected]






Replies:
Re: epicsMessageQueue Linux PREEMPT_RT Andrew Johnson
References:
epicsMessageQueue Linux PREEMPT_RT james.rowland
Re: epicsMessageQueue Linux PREEMPT_RT Andrew Johnson
RE: epicsMessageQueue Linux PREEMPT_RT james.rowland
Re: epicsMessageQueue Linux PREEMPT_RT Andrew Johnson
Re: epicsMessageQueue Linux PREEMPT_RT Till Straumann

Navigate by Date:
Prev: Re: epicsMessageQueue Linux PREEMPT_RT Till Straumann
Next: Re: ca_create_channel memory management Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: epicsMessageQueue Linux PREEMPT_RT Till Straumann
Next: Re: epicsMessageQueue Linux PREEMPT_RT Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·