Displaying 2 results from an estimated 2 matches for "emergency_mutex".
2007 Aug 24
0
[LLVMdev] Turning on exception handling codegen
...extern "C" void *__cxa_allocate_exception() throw();
}
int bork(void);
namespace __gnu_cxx {
inline void __throw_concurrence_unlock_error() {
}
struct __mutex {
void unlock() {
if (bork() != 0)
__throw_concurrence_unlock_error();
}
};
}
__gnu_cxx::__mutex emergency_mutex;
extern "C" void *__cxxabiv1::__cxa_allocate_exception() throw() {
emergency_mutex.unlock();
}
I've been looking at it, but haven't been able to spend a lot of time on it.
-bw
2007 Aug 24
3
[LLVMdev] Turning on exception handling codegen
On 8/24/07, Chris Lattner <sabre at nondot.org> wrote:
> > so how about turning it on?
>
> It sounds good, but I'm concerned about darwin/x86. Bill, can you see how
> well darwin/x86 is doing these days? If there are no regressions from
> turning this on by default, we should do it. :)
>
I'm assuming that this is 4.2? :-) I'll give it a try.
-bw