bug-gnulib
[Top][All Lists]
Advanced

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

Re: malloca, freea are not thread-safe


From: Florian Weimer
Subject: Re: malloca, freea are not thread-safe
Date: Thu, 1 Feb 2018 13:28:30 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 01/11/2018 05:26 AM, Bruno Haible wrote:
Another idea is to add some header (like the current implementation does),
but instead of storing a marker only in the malloc case, store a different
marker also in the alloca case. This should be done through a GCC statement
expression.
=> Should work with __builtin_alloca.

Could we please fix this issue along those lines?  Thanks.

Florian



reply via email to

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