Why your patch defines MALLOC_STATS?

-/* #define MALLOC_STATS */
+#define MALLOC_STATS

On Tue, Jul 18, 2017 at 2:43 PM, David CARLIER <devne...@gmail.com> wrote:
> Ah I recognise you you re Mozilla contributor right ? You re probably right
> but that was just an example eventhough I admit it s not extremely widely
> used ...
>
> On 18 July 2017 at 13:36, Landry Breuil <lan...@openbsd.org> wrote:
>
>> On Tue, Jul 18, 2017 at 01:24:21PM +0100, David CARLIER wrote:
>> > Hi.
>> >
>> > I sent a diff originally to a smaller audience but finally decided to
>> post
>> > it in the mailing list.
>> > So it is to introduce the pthread_set_name_np's counterpart so
>> > pthread_get_name_np.
>> > Some softwares use it (NSPR for example) and anyway internally in my
>> > workplace we have multiplatform needing this feature would be nice having
>> > this for OpenBSD as well :-)
>>
>> the js engine uses it:
>> https://bugzilla.mozilla.org/show_bug.cgi?id=1298451
>>
>> but nspr stopped using it or never used it, there's only a reference to
>> pthread_set_name_np:
>> https://hg.mozilla.org/projects/nspr/file/tip/pr/src/
>> pthreads/ptthread.c#l1759
>>
>> PR_GetThreadName (just below) returns the 'local' name value, and doesnt
>> get it from the system.
>>
>> Landry
>>
>>

Reply via email to