Revision: 57074
          http://sourceforge.net/p/brlcad/code/57074
Author:   brlcad
Date:     2013-08-22 19:33:13 +0000 (Thu, 22 Aug 2013)
Log Message:
-----------
this just artificially makes malloc/calloc even slower than they already are, 
needs to be fixed

Modified Paths:
--------------
    brlcad/trunk/src/libbu/malloc.c

Modified: brlcad/trunk/src/libbu/malloc.c
===================================================================
--- brlcad/trunk/src/libbu/malloc.c     2013-08-22 19:25:33 UTC (rev 57073)
+++ brlcad/trunk/src/libbu/malloc.c     2013-08-22 19:33:13 UTC (rev 57074)
@@ -26,14 +26,19 @@
 
 #include "bu.h"
 
-/** this controls whether to semaphore protect malloc calls */
+/**
+ * this controls whether to semaphore protect malloc calls
+ *
+ * FIXME: we really don't need to do this any more, especially if
+ * compiling against glibc+pthreads.  Windows, however, needs might
+ * need some build flag encouragement.
+ */
 #define MALLOC_NOT_MP_SAFE 1
 
 
 /**
- * used by the memory allocation routines passed to bu_alloc by
- * default to indicate whether allocated memory should be zero'd
- * first.
+ * used by the memory allocation routines going through alloc() to
+ * indicate whether allocated memory should be zero'd.
  */
 typedef enum {
     MALLOC,

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to