2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 | Index | 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: [Merge] ~epics-core/epics-base/+git/Com:thread-join into epics-base:7.0 |
From: | Andrew Johnson via Core-talk <[email protected]> |
To: | mdavidsaver <[email protected]> |
Date: | Wed, 19 Jun 2019 16:11:03 -0000 |
The name epicsThreadMustJoin() would tell someone who knows our other API names that the routine will call cantProceed() if it fails. I would expect a routine called epicsThreadTryJoin() to be functionally equivalent to the glibc extension pthread_tryjoin_np() that Michael found. It should also be equivalent to passing in a timeout of zero to a timed version. Might pthreads allow us to write our own equivalent to pthread_timedjoin_np() using waitpid()? I'm hoping for something that might also work on RTEMS-5, MacOS and non-glibc Linux targets... -- https://code.launchpad.net/~epics-core/epics-base/+git/Com/+merge/361379 Your team EPICS Core Developers is subscribed to branch epics-base:7.0.