[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stack unwinding for C code
From: |
Marius Vollmer |
Subject: |
Re: Stack unwinding for C code |
Date: |
Sun, 11 Jan 2004 02:23:58 +0100 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
Dirk Herrmann <address@hidden> writes:
>>The first variant (with scm_prevent_rewind) would be more elegant from
>>an implementational point of view. The latter (with
>>SCM_F_REWINDABLE_FRAME) leads to a more desirable default behavior. I
>>think people should explicitely allow rewinding when they have unwind
>>handlers.
>>
> Hmm, probably I am missing something, but wouldn't it just be possible
> to make the non-rewindable frame the default, and offer
> scm_allow_rewind as a function then?
Yes, that would be possible, but the flags variant is OK, too, no?
> [...] Maybe we should first wait what kinds of cleanup functions we
> detect to be useful within guile and then decide about this issue.
Yes.
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405