]> mj.ucw.cz Git - libucw.git/commitdiff
Merged mainline with parallel shep-reap:
authorPavel Charvat <pavel.charvat@netcentrum.cz>
Mon, 18 Dec 2006 12:02:41 +0000 (13:02 +0100)
committerPavel Charvat <pavel.charvat@netcentrum.cz>
Mon, 18 Dec 2006 12:02:41 +0000 (13:02 +0100)
- bucket file iface supports more than one opened DB
- shep-reap can preload buckets in parallel (useful especially on RAID systems)

lib/Makefile

index 14018b1c6d6fabda8868bf92ec983a9875ec3aa3..e8bee413af431d2241d40eb2c3b542f22269e13f 100644 (file)
@@ -30,7 +30,8 @@ LIBUCW_MODS= \
        sync \
        qache \
        string \
-       bbuf
+       bbuf \
+       workqueue
 
 LIBUCW_INCLUDES= \
        lib.h config.h threads.h math.h \
@@ -53,7 +54,8 @@ LIBUCW_INCLUDES= \
        lizard.h \
        md5.h \
        base64.h base224.h \
-       qache.h
+       qache.h \
+       workqueue.h
 
 ifdef CONFIG_UCW_THREADS
 # Some modules require threading
@@ -89,6 +91,8 @@ $(o)/lib/lizard-test: $(o)/lib/lizard-test.o $(LIBUCW)
 $(o)/lib/kmp-test: $(o)/lib/kmp-test.o $(LIBUCW) $(LIBCHARSET)
 $(o)/lib/ipaccess-test: $(o)/lib/ipaccess-test.o $(LIBUCW)
 
+$(o)/lib/workqueue-t: LIBS+=-lpthread  # FIXME
+
 TESTS+=$(addprefix $(o)/lib/,regex.test unicode-utf8.test hash-test.test mempool.test stkstring.test slists.test kmp-test.test bbuf.test)
 $(o)/lib/regex.test: $(o)/lib/regex-t
 $(o)/lib/unicode-utf8.test: $(o)/lib/unicode-utf8-t