aboutsummaryrefslogtreecommitdiff
path: root/default.bld
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-04-14 17:38:13 +0000
committerMike Buland <eichlan@xagasoft.com>2012-04-14 17:38:13 +0000
commit49d9fa3c2435b8e97ffdc42e40a880a3dad82f8a (patch)
tree98afeeeccd5105ea812f1b6507cbd6ef1364a91f /default.bld
parent91f9d6e8b371f339dbcc16541054f9cb371d0ec9 (diff)
downloadlibbu++-49d9fa3c2435b8e97ffdc42e40a880a3dad82f8a.tar.gz
libbu++-49d9fa3c2435b8e97ffdc42e40a880a3dad82f8a.tar.bz2
libbu++-49d9fa3c2435b8e97ffdc42e40a880a3dad82f8a.tar.xz
libbu++-49d9fa3c2435b8e97ffdc42e40a880a3dad82f8a.zip
The core of myriad is now thread-safe. It could use a little work on multiple
streams accessing the same blocks at the same time. Right now it's safe, but a little strange, since both streams work from seperate buffers. Maybe that's ok, but it still needs some more investigation. I want to remove the BitString stuff entirely, it turns out it's the slowest part, which, upon actually looking at the code is completely obvious. This change shouldn't change the API at all, just make adding blocks to streams much, much faster.
Diffstat (limited to 'default.bld')
-rw-r--r--default.bld7
1 files changed, 7 insertions, 0 deletions
diff --git a/default.bld b/default.bld
index c6721b2..c7a597e 100644
--- a/default.bld
+++ b/default.bld
@@ -14,6 +14,8 @@
14include "gensigs.bld"; 14include "gensigs.bld";
15 15
16CXXFLAGS += "-ggdb -W -Wall -I."; 16CXXFLAGS += "-ggdb -W -Wall -I.";
17// CXXFLAGS += "-pg";
18// LDFLAGS += "-pg";
17 19
18action "default" 20action "default"
19{ 21{
@@ -149,6 +151,11 @@ target "viewcsv"
149 LDFLAGS += "-lncurses"; 151 LDFLAGS += "-lncurses";
150} 152}
151 153
154target ["myriad", "myriadfs", "tests/myriad", "tests/myriadfs", "unit/myriad"]
155{
156 LDFLAGS += "-lpthread";
157}
158
152target files("src/extra/*.cpp").replace("src/extra/","").replace(".cpp","") 159target files("src/extra/*.cpp").replace("src/extra/","").replace(".cpp","")
153{ 160{
154 input "src/extra/${OUTPUT}.cpp"; 161 input "src/extra/${OUTPUT}.cpp";