[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamic loading progress

From: Eli Zaretskii
Subject: Re: Dynamic loading progress
Date: Sun, 22 Nov 2015 21:26:34 +0200

> From: Philipp Stephani <address@hidden>
> Date: Sun, 22 Nov 2015 19:19:49 +0000
> Cc: address@hidden, address@hidden, 
>       Emacs developers <address@hidden>, Daniel Colascione <address@hidden>
>     Thanks for the patch, but this handles only part of the problem, namely,
>     the
>     memory allocated by emacs-module.c directly. We need a way for modules
>     themselves to allocate memory that is properly accounted for, and this
>     allocation should be nearly as convenient as xmalloc so that modules don't
>     need
>     to check for failure after each allocation.
> This is _impossible_ without using longjmp.

Why?  Why cannot emacs-module.c expose an allocator, which modules
will then use as a sole source of memory?  And why such an allocator
cannot do exactly what you did in your patch?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]