Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  Index 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Re: epicsEvent
From: Eric Norum <eric@norum.ca>
To: Eric Norum <eric@norum.ca>
Cc: Core-Talk Talk <core-talk@aps.anl.gov>
Date: Thu, 28 Oct 2010 16:49:40 -0700
Here's a patch that adds the 'wake just one' check to epicsEventTest.cpp.
Passes on darwin-x86, linux-x86_64 and RTEMS-mvme2100.

Attachment: eventTest.patch
Description: Binary data


And here's the change to the app dev guide -- add this right after the first (and only) sentence of 20.4 epicsEvent:
The semantics are those of a simple binary semaphore.  If multiple threads are waiting for an event a single signal will unblock just one of them and the others will continue waiting.

-- 
Eric Norum
eric@norum.ca





References:
Re: epicsEvent Eric Norum

Navigate by Date:
Prev: Re: epicsEvent Eric Norum
Next: RTEMS tests -- epicsThreadOnce broken? Eric Norum
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: epicsEvent Eric Norum
Next: RTEMS tests -- epicsThreadOnce broken? Eric Norum
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019 
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 ·