Re: abort() calls
From: Jonathan Gilbert <o2w9gs702_at_sneakemail.com>
Date: 2007-04-29 05:55:34 CEST
At 10:13 PM 4/28/2007 +0200, Brane wrote:
What about -- on platforms that support it -- allowing the project calling
I don't know what Subversion's policy is on threading, but of course if
if (setjmp(my_jmp_buf))
svn_push_emergency_exit_handler(my_jmp_buf);
... /* (calls to Subversion API here) */
svn_pop_emergency_exit_handler();
I suppose also the stack could be offloaded to the caller so that the
if (setjmp(my_jmp_buf))
callers_jmp_buf = svn_set_emergency_exit_handler(my_jmp_buf);
... /* (calls to Subversion API here) */
svn_set_emergency_exit_handler(callers_jmp_buf);
Most code would not need to use the feature, but anything integrating into
Just an idea.. :-)
Jonathan Gilbert
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.