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 | 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: Matlab 2020b crashes with labCA 3.7.2 |
From: | "Johnson, Andrew N. via Core-talk" <core-talk at aps.anl.gov> |
To: | EPICS core-talk <core-talk at aps.anl.gov> |
Cc: | Till Straumann <till.straumann at psi.ch> |
Date: | Fri, 5 Mar 2021 17:14:50 +0000 |
On Mar 5, 2021, at 8:50 AM, Till Straumann via Tech-talk <tech-talk at aps.anl.gov> wrote:
The init code that Till is referring to has been in osi/os/posix/osdThread.c since 2011:
When posix priority scheduling is enabled this gets called from inside the
once() routine that the Posix epicsThreadInit() implementation runs using pthread_once(). I don’t see an easy way to avoid doing that initialization here;
it might be possible by adding more lazy-init logic to only look up the min and max scheduling priorities when they are actually needed, but I suspect that would still be before the end of the initialization code.
Hence not something we should try to fix IMHO.
- Andrew
--
Complexity comes for free, simplicity you have to work for.
|