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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: epicsEventSignal() question |
From: | "Johnson, Andrew N." <[email protected]> |
To: | Michael Westfall <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Tue, 7 Jun 2016 04:30:52 +0000 |
Hi Mike,
Have you worked out what those semFlush() calls are actually doing in the original code? Do they always come immediately after a semGive() for example? I think you would be best advised to try to discover what is actually going
on in the original implementation instead of just trying to mechanically convert every call; my previous discussion was partly to explain that in reality the semFlush() probably wasn't doing what the original author might have thought, and as a result you
might not need to replace it with anything. Once you've worked out how the various tasks communicate with each other you'll be in a better position to decide how to convert the signaling code.
- Andrew --
Sent from my iPad
|