git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7975
91ce42f0-d328-0410-95d8-
f526ca767f89
rwlock_test: Makefile
rm -f rwlock.o
$(CXX) -DTEST_RWLOCK $(DEFS) $(DEBUG) -c $(CPPFLAGS) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) rwlock.c
- $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L. -o $@ rwlock.o $(LIBS) $(DLIB) -lbac -lm
+ $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L. -o $@ rwlock.o $(LIBS) $(DLIB) -lbac $(OPENSSL_LIBS) -lm
rm -f rwlock.o
$(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) rwlock.c
#ifdef TEST_RWLOCK
-#define THREADS 5
+#define THREADS 50
#define DATASIZE 15
-#define ITERATIONS 10000
+#define ITERATIONS 100000
/*
* Keep statics for each thread.