bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#18222: 24.3.92; fork handlers in gmalloc.c can lead to deadlock


From: Ken Brown
Subject: bug#18222: 24.3.92; fork handlers in gmalloc.c can lead to deadlock
Date: Mon, 25 Aug 2014 08:17:49 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 8/24/2014 10:39 PM, Eli Zaretskii wrote:
The problem is how to write the DUMPED and ALLOCATED_BEFORE_DUMPING
macros.  For Cygwin, they use some intimate knowledge about Cygwin
runtime internals; the question is, do other platforms have similar
facilities and features.

The macros on Cygwin don't use any knowledge about Cygwin runtime internals. They use knowledge about how gmalloc and unexec work on Cygwin. Prior to dumping, gmalloc uses a version of sbrk defined in sheap.c, which allocates space in the static heap (also defined in sheap.c). But the question still remains about what to do on other platforms.

Ken





reply via email to

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