From acb656e605d91971ee4014da66be1b7ba6201ac3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 18 Aug 2010 17:51:09 +0200 Subject: Add multi-threading primitives Currently only the pthread-based implementation is present. --- odb/makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'odb/makefile') diff --git a/odb/makefile b/odb/makefile index bae84e0..047ff1c 100644 --- a/odb/makefile +++ b/odb/makefile @@ -13,6 +13,10 @@ exceptions.cxx \ database.cxx \ transaction.cxx +# POSIX-based implementation details. +# +cxx_tun += details/posix/exceptions.cxx details/posix/thread.cxx + cxx_obj := $(addprefix $(out_base)/,$(cxx_tun:.cxx=.o)) cxx_od := $(cxx_obj:.o=.o.d) @@ -26,7 +30,7 @@ clean := $(out_base)/.clean # Build. # -$(odb.l): $(cxx_obj) +$(odb.l): $(cxx_obj) -lpthread $(cxx_obj) $(cxx_od): $(odb.l.cpp-options) $(odb.l.cpp-options): value := -I$(src_root) -- cgit v1.1