EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [Fwd: R3.14.8 testing: epicsMessageQueueTestHost fails on linux-x86]
From: "Ernest L. Williams Jr." <[email protected]>
To: Marty Kraimer <[email protected]>
Cc: [email protected]
Date: Thu, 17 Nov 2005 12:28:02 -0500
On Wed, 2005-11-16 at 08:39 -0600, Marty Kraimer wrote:
> I found the cause of the crash.
> 
> The problem was calling epicsThreadSetPriority from a thread not created 
> via epicsThreadCreate.
> 
> I committed the change and a change to epicsThreadTest.cpp to test 
> epicsThreadSetPriority.

Thanks Marty; it even works on 64-bit linux as well:
==============================================================================
[williams@dragon linux-x86_64]$ epicsMessageQueueTestHost
Simple single-thread tests.
Should have 1 used -- Message Queue Used:1  Slots:4
Should have 2 used -- Message Queue Used:2  Slots:4
Should have 3 used -- Message Queue Used:3  Slots:4
Should have 4 used -- Message Queue Used:4  Slots:4
Test sender timeout.
Should have 1 used -- Message Queue Used:1  Slots:4
Should have 2 used -- Message Queue Used:2  Slots:4
Should have 3 used -- Message Queue Used:3  Slots:4
Should have 4 used -- Message Queue Used:4  Slots:4
Test receiver with timeout.
Single receiver with invalid size, single sender tests.
Single receiver, single sender tests.
epicsThreadSetPriority called by non epics thread
Systems with priority-based scheduler should send only
4 or 5 messages (sender priority > receiver priority).
Sent 5 messages.
epicsThreadSetPriority called by non epics thread
Systems with strict priority-based scheduler should send
10 messages (sender priority < receiver priority).
Sent 5 messages.
epicsThreadSetPriority called by non epics thread
All systems should send 10 messages (sender pauses
after sending each message).
Sent 10 messages.
epicsThreadSetPriority called by non epics thread
Single receiver, multiple sender tests.
The following test takes 5 minutes to run and has succeeded
if nothing appears between here....
......and here.
Sender 1 -- 5845 messages
Sender 2 -- 5863 messages
Sender 3 -- 5908 messages
Sender 4 -- 5882 messages
[williams@dragon linux-x86_64]$
===================================================================

Ernest





> 
> When I run epicsMessageQueueTestHost on solaris it never terminates but 
> does do everthing it should???
> 
> Marty
> 
> 


References:
Re: [Fwd: R3.14.8 testing: epicsMessageQueueTestHost fails on linux-x86] Marty Kraimer

Navigate by Date:
Prev: Re: mrkSoftTest doesn't compile Ralph Lange
Next: Re: mrkSoftTest doesn't compile Ralph Lange
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: [Fwd: R3.14.8 testing: epicsMessageQueueTestHost fails on linux-x86] Marty Kraimer
Next: FW: error log facility Jeff Hill
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·