C/C++
mthot.txt
Associated article: Improving Scalability of Multithreaded Dynamic Memory Allocation
Tags: C/C++ Mobile
Published source code accompanying the article by Greg Nakhimovsky in which he implements a malloc facility called "MT-hot" that lets multiple execute in parallel without major delays. Also see MTHOT.ZIP.
Improving Scalability of Multithreaded Dynamic Memory Allocation
by Greg Nakhimovsky
Listing One
% more test1.c
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
main()
{
char *str;
int i;
char buf[128];
for (i=0; i&...


