EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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: Forking EPICS processes
From: Grzegorz Kowalski via Tech-talk <tech-talk at aps.anl.gov>
To: <tech-talk at aps.anl.gov>
Date: Tue, 4 Feb 2025 14:24:23 +0100
Hello,

I'm working on a multiprocess application using EPICS.
My main process only reads the configuration and spins up child processes where EPICS is actually used.
However, when forking I get this warning:

Warning: Undefined Behavior!
         Detected use of epicsThread from child process after fork()

Is there a way to avoid starting any epicsThreads in the main process and only do so in a child process that needs them?

--
Pozdrawiam / Kind regards,
Grzegorz Kowalski

Replies:
Re: Forking EPICS processes Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: about css Mayou Hasegawa via Tech-talk
Next: Re: Forking EPICS processes Michael Davidsaver via Tech-talk
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
Navigate by Thread:
Prev: Re: about css Michael Davidsaver via Tech-talk
Next: Re: Forking EPICS processes Michael Davidsaver via Tech-talk
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
ANJ, 08 Feb 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·