[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] Updated fast trace patch with initial performance
From: |
Arun Sharma |
Subject: |
Re: [Libunwind-devel] Updated fast trace patch with initial performance results |
Date: |
Tue, 5 Apr 2011 16:53:02 -0700 |
On Tue, Apr 5, 2011 at 4:32 PM, Paul Pluzhnikov <address@hidden> wrote:
> Safer? I don't see how. You are still calling pthread_setspecific from a
> potentially unsafe context.
I meant: it gives us some freedom to move pthread_setspecific() call
around. Like you observe, there is no safe place to call it from
within libunwind.
I lean towards #3:
. Switch to using __thread, figure out some (likely extremely non-portable)
way to perform cleanup on thread termination.
This could be as simple as documenting a function that users are
required to call on thread idle/exit to cleanup.
-Arun
- Re: [Libunwind-devel] Updated fast trace patch with initial performance results, (continued)
- Re: [Libunwind-devel] Updated fast trace patch with initial performance results, Lassi Tuura, 2011/04/05
- Re: [Libunwind-devel] Updated fast trace patch with initial performance results, Lassi Tuura, 2011/04/05
- Re: [Libunwind-devel] Updated fast trace patch with initial performance results, Arun Sharma, 2011/04/05
- Re: [Libunwind-devel] Updated fast trace patch with initial performance results, Lassi Tuura, 2011/04/05
- Re: [Libunwind-devel] Updated fast trace patch with initial performance results, Arun Sharma, 2011/04/05
- Re: [Libunwind-devel] Updated fast trace patch with initial performance results, Lassi Tuura, 2011/04/05
- Re: [Libunwind-devel] Updated fast trace patch with initial performance results, Arun Sharma, 2011/04/05
- Re: [Libunwind-devel] Updated fast trace patch with initial performance results, Paul Pluzhnikov, 2011/04/05
- Re: [Libunwind-devel] Updated fast trace patch with initial performance results,
Arun Sharma <=
- Re: [Libunwind-devel] Updated fast trace patch with initial performance results, Paul Pluzhnikov, 2011/04/05