Searched refs:USE_LOCKS (Results 1 - 1 of 1) sorted by relevance

/barrelfish-2018-10-04/lib/dmalloc/
H A Ddmalloc.c112 Thread-safety: NOT thread-safe unless USE_LOCKS defined non-zero
113 When USE_LOCKS is defined, each public call to malloc, free,
262 USE_LOCKS default: 0 (false)
270 USE_SPIN_LOCKS default: 1 iff USE_LOCKS and spin locks available
530 /* Use Barrelfish mutex instead of pthread / custom spin lock (USE_LOCKS > 1). */
531 #define USE_LOCKS 2 macro
616 #ifndef USE_LOCKS /* ensure true if spin or recursive locks set */
617 #define USE_LOCKS ((defined(USE_SPIN_LOCKS) && USE_SPIN_LOCKS != 0) || \ macro
619 #endif /* USE_LOCKS */
621 #if USE_LOCKS /* Spi
[all...]

Completed in 39 milliseconds