[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: |
Thu, 19 Nov 2015 19:04:43 +0200 |
> Cc: address@hidden, address@hidden, address@hidden
> From: Paul Eggert <address@hidden>
> Date: Thu, 19 Nov 2015 08:37:53 -0800
>
> On 11/19/2015 08:27 AM, Eli Zaretskii wrote:
> > The code in module.c runs in Emacs, so I think it's friendly enough
> > (apart of the xmalloc issue). Or did I misunderstand what you meant?
>
> It's the xmalloc issue. That is, if a module contains random C code
> inside a library outside of your control that invokes malloc, I suppose
> it's a lost cause, we can't memory-profile that. But if as part of a
> module you write a wrapper for Emacs, the wrapper code should use
> xmalloc rather than malloc, so that at least we can account for its
> memory and fail in a standard way if it's not available. That sort of thing.
Right. I think we should be able to provide an xmalloc-compatible
function for module.c to use, once we know exactly why xmalloc was
avoided.
- Re: Dynamic loading progress, (continued)
- Re: Dynamic loading progress, Aurélien Aptel, 2015/11/17
- Re: Dynamic loading progress, Ted Zlatanov, 2015/11/18
- Re: Dynamic loading progress, Eli Zaretskii, 2015/11/18
- Re: Dynamic loading progress, John Wiegley, 2015/11/18
- Re: Dynamic loading progress, Ted Zlatanov, 2015/11/18
- Re: Dynamic loading progress, Eli Zaretskii, 2015/11/18
- Re: Dynamic loading progress, Eli Zaretskii, 2015/11/19
- Re: Dynamic loading progress, Paul Eggert, 2015/11/19
- Re: Dynamic loading progress, Eli Zaretskii, 2015/11/19
- Re: Dynamic loading progress, Paul Eggert, 2015/11/19
- Re: Dynamic loading progress,
Eli Zaretskii <=
- Re: Dynamic loading progress, Eli Zaretskii, 2015/11/19
- Re: Dynamic loading progress, Paul Eggert, 2015/11/19
- Re: Dynamic loading progress, Eli Zaretskii, 2015/11/19
- Re: Dynamic loading progress, Stephen Leake, 2015/11/19
- Re: Dynamic loading progress, Eli Zaretskii, 2015/11/19
- Re: Dynamic loading progress, Paul Eggert, 2015/11/19
- Re: Dynamic loading progress, Eli Zaretskii, 2015/11/19
- Re: Dynamic loading progress, John Wiegley, 2015/11/19
- Re: Dynamic loading progress, Philipp Stephani, 2015/11/19
- Re: Dynamic loading progress, Paul Eggert, 2015/11/19