[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Overlays as an AA-tree
From: |
Eli Zaretskii |
Subject: |
Re: Overlays as an AA-tree |
Date: |
Sat, 06 May 2017 00:41:42 +0300 |
> From: Andreas Politz <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> Date: Fri, 05 May 2017 22:08:15 +0200
>
> Eli Zaretskii <address@hidden> writes:
>
> > Why do you think quitting might be a problem?
>
> If it happens while memory is dynamically allocated, while adjusting the
> overlays for insertions/deletions.
The usual way of preventing such problems, if they are real, is to
have an unwind-protect function which releases any allocated resources
when there's a quit.