#include <unistd.h>
#include <stdint.h>
#include <pthread.h>
-#include <stdbool.h>
+#if !defined(__cplusplus)
+# include <stdbool.h>
+#endif
#include <math.h>
#include "ms_stats.h"
{
/* synchronize lock */
ms_sync_lock_t init_lock;
+ ms_sync_lock_t warmup_lock;
ms_sync_lock_t run_lock;
/* mutex for outputing error log synchronously when memslap crashes */