[Python-Dev] mallopt (Was: Minor compilation problem on HP-UX (1.6b1))

Mark Favas mark@per.dem.csiro.au
Mon, 7 Aug 0 21:34:42 WST


To add to Vladimir Marangozov's comments about mallopt, in terms of both
portability and utility (before too much time is expended)...

From the Tru64 Unix man page:

NOTES

  The mallopt() and mallinfo() functions are not supported for multithreaded
  applications.

  The mallopt() and mallinfo() functions are designed for tuning a specific
  algorithm.  The Tru64 UNIX operating system uses a new, more efficient
  algorithm.  The mallopt() and mallinfo() functions are provided for System
  V compatibility only and should not be used by new applications.  The
  behavior of the current malloc() and free() functions is not be affected by
  calls to mallopt().  The structure returned by the mallinfo() function
  might not contain any useful information.

-- 
Mark Favas