Add fast mempool module.

This commit is contained in:
Patrick Pelissier committed 2017-03-31 21:14:45 +02:00
1 parent 8f9bea1c64
commit 39e8c9e678
3 files changed
+200 -1

No files matched your search

+4 -1
View File
@@ -9,7 +9,7 @@ EXE=./a.exe
all:
@echo "Nothing to be done."
check: core mutex array list i-list string buffer shared tuple snapshot algo dict rbtree variant
check: core mempool mutex array list i-list string buffer shared tuple snapshot algo dict rbtree variant
valgrind:
make check VALGRIND=valgrind
@@ -17,6 +17,9 @@ valgrind:
core:
$(CC) $(CFLAGS) $(CPPFLAGS) -g $(COVERAGE_CFLAGS) test-mcore.c -lgmp -o $(EXE) && $(VALGRIND) $(EXE)
mempool:
$(CC) $(CFLAGS) $(CPPFLAGS) -g $(COVERAGE_CFLAGS) test-mmempool.c -o $(EXE) && $(VALGRIND) $(EXE)
mutex:
$(CC) $(CFLAGS) $(CPPFLAGS) -g $(COVERAGE_CFLAGS) test-mmutex.c -lpthread -o $(EXE) && $(VALGRIND) $(EXE)