Robert Soliday wrote:
Thanks, this solved my problem.
--Bob
Chris Timossi wrote:
Robert,
I believe that you should replace ca_task_initialize with
> ca_context_create(ca_enable_preemptive_callback) in main. Then in the
> interrupt handler, you can call ca_current_context() to get the
> current context and finally join that context with
> ca_attach_context().
Are you sure that this is safe? I suspect that calling these functions from a
signal handler is going to introduce all sorts of race conditions.
Jeff -- can you confirm/deny my suspicions?
--
Eric Norum [email protected]
Advanced Photon Source Phone: (630) 252-4793
Argonne National Laboratory
- Replies:
- Re: Proglem doing CA calls after catching a signal Chris Timossi
- References:
- Proglem doing CA calls after catching a signal Robert Soliday
- Re: Proglem doing CA calls after catching a signal Robert Soliday
- Navigate by Date:
- Prev:
Re: Proglem doing CA calls after catching a signal Robert Soliday
- Next:
Re: Proglem doing CA calls after catching a signal Chris Timossi
- 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
- Navigate by Thread:
- Prev:
Re: Proglem doing CA calls after catching a signal Robert Soliday
- Next:
Re: Proglem doing CA calls after catching a signal Chris Timossi
- 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
|