Commit Graph

29 Commits

Author SHA1 Message Date
Sebastian Messmer
9d4165d2db TODOs 2015-12-07 12:13:43 +01:00
Sebastian Messmer
5c9cc509d7 Make classes final if they're not meant to be derived from 2015-11-27 14:06:40 +01:00
Sebastian Messmer
b83be2c32d Fix compiler warning 2015-11-26 19:29:16 +01:00
Sebastian Messmer
fb733929d8 Code is compatible with gcc 4.8 2015-11-24 14:39:41 +01:00
Sebastian Messmer
06b78f1b80 Adapt to new cpputils 2015-11-12 13:07:59 -08:00
Sebastian Messmer
1bd64c2f7f Added comment explaining why we use boost/thread 2015-10-28 15:30:59 +01:00
Sebastian Messmer
52366fb707 Use cpputils threads that also work fine when fork()-ed 2015-10-28 15:00:49 +01:00
Sebastian Messmer
62549eeae6 Adapt to new cpputils::Random interface 2015-10-22 17:41:43 +02:00
Sebastian Meßmer
a4ce9f1c97 Fix warnings from -Weffc++ 2015-10-17 21:10:26 +02:00
Sebastian Meßmer
e9470ffb78 Logging instead of stderr 2015-10-17 17:50:30 +02:00
Sebastian Meßmer
62e0a177fb Use cpputils::logging 2015-10-17 03:30:42 +02:00
Sebastian Meßmer
821550e62f Unify (and fix) include guards 2015-10-15 13:09:21 +02:00
Sebastian Meßmer
9a27cea138 Increase parallelity level for cache flushing 2015-10-15 05:45:49 +02:00
Sebastian Meßmer
92d0d073a5 Fix test cases 2015-10-15 04:49:31 +02:00
Sebastian Messmer
2ccdcb5b98 Cache destructs elements in parallel in destructor 2015-10-14 14:40:45 +02:00
Sebastian Messmer
210c2c2811 Fix compiler error in test cases 2015-10-08 18:05:09 +02:00
Sebastian Messmer
260bc1056a Make cache MAX_SIZE configurable 2015-10-07 17:24:13 +02:00
Sebastian Messmer
5bb77adc87 Added Cache::size() 2015-10-05 16:51:36 +02:00
Sebastian Messmer
73101b74ea Better locking for cache 2015-10-01 15:52:43 +02:00
Sebastian Messmer
84330b1100 Cache has better parallelity - we can push()/pop() while it is flushing and flushing is actually parallel 2015-10-01 13:51:01 +02:00
Sebastian Messmer
c8c13517e0 TODOs 2015-10-01 02:00:34 +02:00
Sebastian Messmer
942a627173 Better fix for Cache race condition 2015-10-01 01:52:21 +02:00
Sebastian Messmer
90471ea6a3 Fixed Cache race condition and added test for it 2015-10-01 01:20:40 +02:00
Sebastian Messmer
c9f07762a4 Removed unnecessary debug calculation 2015-09-29 20:04:12 +02:00
Sebastian Messmer
959ef62a38 Cache is flushed in parallel 2015-09-29 20:01:51 +02:00
Sebastian Messmer
fd93e4c199 Use the new assert that doesn't crash the program in a release build 2015-07-22 13:42:07 +02:00
Sebastian Meßmer
48c5493780 Started implementing parallel writing to disk 2015-05-16 13:45:25 +02:00
Sebastian Messmer
d589910b0d TODOs 2015-04-27 23:10:30 +02:00
Sebastian Messmer
1ff807e09c Make Cache a generic over Key/Value. Furthermore, add test skeleton for Cache 2015-04-27 22:46:57 +02:00