On Friday 28 January 2011 12:30:59 Eric Norum wrote:
> From the indenting style I infer that Marty Kraimer wrote the code and had
> me commit it......
Marty *never* uses GNU-style function definitions (putting the routine name at
the beginning of a new line after the return type and any decorations), so I
still think this had to be your code. He might have written the vxWorks
implementation, but I doubt that you would have listed yourself as the Author
if that was the case.
The vxWorks implementation doesn't appear to need anything like an eventNode,
and I'm wondering if the free-list is even necessary — couldn't the eventNode
just be allocated on the stack of the thread that's waiting? Every call to
getEventNode() is followed after the epicsEventWait*() by a line that puts it
back on the eventFreeList. I guess the important question is how much work it
would be to create a new epicsEventId every time.
- Andrew
--
If a man is offered a fact which goes against his instincts, he will
scrutinize it closely, and unless the evidence is overwhelming, he will
refuse to believe it. If, on the other hand, he is offered something
which affords a reason for acting in accordance to his instincts, he
will accept it even on the slightest evidence. -- Bertrand Russell
- Replies:
- Re: epicsMessageQueue Linux PREEMPT_RT Till Straumann
- References:
- epicsMessageQueue Linux PREEMPT_RT james.rowland
- Re: epicsMessageQueue Linux PREEMPT_RT Till Straumann
- Re: epicsMessageQueue Linux PREEMPT_RT Eric Norum
- Navigate by Date:
- Prev:
ca_create_subscription element count pthomas
- Next:
Re: Setting BPTR 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
2025
- Navigate by Thread:
- Prev:
Re: epicsMessageQueue Linux PREEMPT_RT Eric Norum
- Next:
Re: epicsMessageQueue Linux PREEMPT_RT Till Straumann
- 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
2025
|