EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: [Bug 608956] Re: vxWorks 6.8 deprecates the use of taskVarLib
From: Andrew Johnson via Core-talk <[email protected]>
To: [email protected]
Date: Fri, 21 Jun 2019 16:56:39 -0000
I confirmed that support for __thread is only available for VxWorks 6.8
and above, and has to be configured into the VxWorks OS image (define
INCLUDE_TLS for those that understand that). None of the APS OS images
have this turned on but it's trivial to do, I would just need to build
and publish a new set of OS images for my users.

The VxWorks taskVarLib is still available and supported, but only for UP
targets. We don't support any VxWorks SMP targets yet though, and adding
them would require changes somewhat similar to those that Heinz
developed for RTEMS, thus any rewrite of the epicsThreadPrivate
implementation should happen at the same time as that.

This bug isn't quite the right place to decide when we could start to
use __thread though, fixing the bug requires __thread, but using
__thread doesn't require that it be fixed.

Dirk was building EPICS 7.0.1 without PVA for VxWorks 6.2, but needed
newer versions to build the PVA modules (see https://epics.anl.gov/core-
talk/2017/msg00691.php for discussion). The EPICS 7.0 page on the APS
website does say that VxWorks 6.8 is required, but my guess is that as
long as we don't use __thread in the core IOC modules he might not
object. We should ask him ...

-- 
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/608956

Title:
  vxWorks 6.8 deprecates the use of taskVarLib

Status in EPICS Base:
  Triaged

Bug description:
  The release notes say the taskVarLib facilities will be removed in a
  future release, and they don't work on SMP systems anyway.

  The __thread storage class replaces taskVarLib.  It's not clear if any
  vxWorks releases before 6.8 support __thread variables though.

  Someone will have to modify src/libCom/osi/os/vxWorks/osdThread.c to
  comply with this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/608956/+subscriptions

Navigate by Date:
Prev: Re: [Merge] ~epics-core/epics-base/+git/Com:thread-join into epics-base:7.0 Andrew Johnson via Core-talk
Next: Re: [Merge] ~epics-core/epics-base/+git/Com:thread-join into epics-base:7.0 mdavidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: [Bug 608956] Re: vxWorks 6.8 deprecates the use of taskVarLib mdavidsaver via Core-talk
Next: [Bug 1833108] [NEW] CA context not set during disconnect callback mdavidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
ANJ, 23 Jun 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·