summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-10-24 13:47:08 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-10-24 13:47:08 +0000
commitbce77e093ba6c3fc6e4a5d18db046d6c161b06ac (patch)
tree0a3c803c7e5a3b3a3eee8dd9ab375c9c3bdcb6af
parent673f20015f0f1351585b8c0c4bb256dc188c72e8 (diff)
downloadrsyslog-bce77e093ba6c3fc6e4a5d18db046d6c161b06ac.tar.gz
rsyslog-bce77e093ba6c3fc6e4a5d18db046d6c161b06ac.tar.xz
rsyslog-bce77e093ba6c3fc6e4a5d18db046d6c161b06ac.zip
doing some tests with cross-platform pthreads (mutex object as tester)
-rw-r--r--freebsd/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/freebsd/Makefile b/freebsd/Makefile
index bd099f56..747ddaab 100644
--- a/freebsd/Makefile
+++ b/freebsd/Makefile
@@ -31,6 +31,9 @@ FEATURE_REGEXP=1
# Enable RFC 3195 support (REQUIRES LIBLOGGING 0.6.0 or above!)
FEATURE_RFC3195=0
+# Enable multithreading via pthreads (very experimental!)
+FEATURE_PTHREADS=1
+
# Enable debug mode (much slower code)
FEATURE_DEBUG=0
@@ -74,6 +77,10 @@ MANDIR = /usr/share/man
LIBLOGGING_BIN=
.endif
+.if $(FEATURE_PTHREADS) == 1
+ F_PTHREADS=-DUSE_PTHREADS
+.endif
+
.if $(FEATURE_DEBUG) == 0
DBG=-DNDEBUG
.endif