Leif Walsh
dbdc3ef117
refs #5507 fix TOKU_MUTEX_INITIALIZER
...
git-svn-id: file:///svn/toku/tokudb@48032 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
bd63072bdf
closes #5485 #5368 clean up cmake and get darwin portability:
...
for 5485:
- remove icc handling stuff from cmake
- clean up remaining cmake files
- create libtokudb_static.a in a cleaner way using cmake OBJECT libs (requires cmake 2.8.9)
- use POSITION_INDEPENDENT_CODE property instead of manually setting -fPIC
for 5368:
- fix compilation failures due to small differences between gcc and clang, mostly in tests
- use toku_fileids_are_equal instead of memcmp to compare fileids (closes #5505 )
- create dummy implementation of partitioned_counter for osx (quick fix for, and closes #5506 )
- add mutex->valid bit under TOKU_PTHREAD_DEBUG
- initialize mutex of DB_TXN created during recovery for 2PC (closes #5507 )
git-svn-id: file:///svn/toku/tokudb@48024 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:07 -04:00
Leif Walsh
c75dae7ccd
refs #5379 compile fix
...
git-svn-id: file:///svn/toku/tokudb@47042 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:04 -04:00
Zardosht Kasheff
3a887ea75f
refs #5312 , merge to main
...
git-svn-id: file:///svn/toku/tokudb@47022 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:03 -04:00
Yoni Fogel
fffce5d49f
refs #5155 refs #5308 closes #5309 merge new omt api functions to main (still unused), use templated omt for TOKUTXN->open_fts, OMT becomes a wrapper for omt<OMTVALUE>, other misc fixes
...
git-svn-id: file:///svn/toku/tokudb@46448 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:02 -04:00
Yoni Fogel
d4cf29525f
refs #5081 Replace all usage:
...
BOOL->bool
FALSE->false
TRUE->true
u_int*_t->uint*_t
Also poisoned all of the variables
git-svn-id: file:///svn/toku/tokudb@46157 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:01 -04:00
Leif Walsh
aa786f0ba7
refs #5206 fix mutex initializer to be compatible with osx
...
git-svn-id: file:///svn/toku/tokudb@45964 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:00 -04:00
Rich Prohaska
f51339dd09
refs #5206 get file.c compiling on lex2
...
git-svn-id: file:///svn/toku/tokudb@45910 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Leif Walsh
958c447641
closes #5206 merge c++ changes to mainline
...
git-svn-id: file:///svn/toku/tokudb@45903 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:59 -04:00
Leif Walsh
a367232ad2
refs #5206 merge work making our code c99 and c++11 compatible, to mainline
...
git-svn-id: file:///svn/toku/tokudb@45632 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:58 -04:00
John Esmet
f4e8a41a99
[t:4871] fix compilation of test-fair-rwlock
...
git-svn-id: file:///svn/toku/tokudb@44666 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:51 -04:00
Bradley C. Kuszmaul
925f584468
[t:4934] Get rid of 4934 stuff from main. Refs #4934 .
...
git-svn-id: file:///svn/toku/tokudb@44659 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Rich Prohaska
ddbc8a22eb
make the mainline portability tests compile
...
git-svn-id: file:///svn/toku/tokudb@44638 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Bradley C. Kuszmaul
7d2d1f30e8
Make the main line compile.
...
git-svn-id: file:///svn/toku/tokudb@44636 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Bradley C. Kuszmaul
b18a5e0080
[t:5091] Merge 44631 from ../tokudb.4934-branch-from.6.0.0. Refs #4934 , #5091 .
...
git-svn-id: file:///svn/toku/tokudb@44635 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
d6d59ec4b5
[t:4871] use shared lib for {lock,range}_tree tests, speeds up build, and add prefixes to test names to use regexes better
...
also better osx/clang support, compile with -O4 now
and use the same compiler for the fractal tree and lzma
git-svn-id: file:///svn/toku/tokudb@44602 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:50 -04:00
Leif Walsh
dc4776a770
[t:4871] implement binary compilation options in a nicer way in cmake,
...
only do it for release builds, play nicer with multi-configuration
generators like vs and xcode
git-svn-id: file:///svn/toku/tokudb@44535 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
d3a6f99e14
[t:5073] fix most clang problems on linux, ignore -Wcast-align for now
...
git-svn-id: file:///svn/toku/tokudb@44529 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
5c89903804
[t:4871] fixing linking of portability and ydb layer with external things
...
git-svn-id: file:///svn/toku/tokudb@44509 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
6f24c4fa88
[t:4871] clean up compilation flags across the board
...
git-svn-id: file:///svn/toku/tokudb@44507 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Leif Walsh
d8601e192a
[t:5069] move toku_mutex_t's locked member to only exist when compiling with TOKU_PTHREAD_DEBUG, for performance reasons
...
git-svn-id: file:///svn/toku/tokudb@44506 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:49 -04:00
Yoni Fogel
b6b8dd84c4
[t:4905] closes #4905 Merge 4905b branch to main (removes pwrite lock)
...
git-svn-id: file:///svn/toku/tokudb@44315 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:47 -04:00
Zardosht Kasheff
d2d3de2efa
[t:4920], [t:4953], separate ydb lock from hot indexing and checkpointing
...
git-svn-id: file:///svn/toku/tokudb@44202 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:43 -04:00
Leif Walsh
95ed2a0eb6
[t:4871] cast pthread_t through void * to avoid -Wbad-function-cast on osx, fix toku_time.h on osx too (include errno.h)
...
git-svn-id: file:///svn/toku/tokudb@43884 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Yoni Fogel
3a208cebc4
closes [t:4913]. Modelines now synchronized in every source/header file (and always top two lines)
...
git-svn-id: file:///svn/toku/tokudb@43762 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:36 -04:00
Leif Walsh
3719bf2c2f
[t:4901] merging brt->ft rename to main
...
git-svn-id: file:///svn/toku/tokudb@43686 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:35 -04:00
Rich Prohaska
fe705b3810
#4753 simplify pthread rwlocks interface closes[t:4753]
...
git-svn-id: file:///svn/toku/tokudb@43670 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:32 -04:00
Rich Prohaska
5eed9b3230
#4869 #4753 fixup debug icc build refs[t:4869] refs[t:4753]
...
git-svn-id: file:///svn/toku/tokudb@43597 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Rich Prohaska
90b9137fd3
#4869 #4753 turn pthread debug off refs[t:4753]
...
git-svn-id: file:///svn/toku/tokudb@43591 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Rich Prohaska
6f8c78d19b
#4869 #4753 simplify the pthreads api, remove dead code, remove untest error recovery patch, increase test coverage refs[t:4753]
...
git-svn-id: file:///svn/toku/tokudb@43590 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:31 -04:00
Leif Walsh
d58b1a3331
[t:4871] really turn on -Werror, make things compile with it
...
git-svn-id: file:///svn/toku/tokudb@43473 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Leif Walsh
0a6e7d3065
[t:4871] add <stdbool.h> to rwlock_condvar.h because it's needed on osx
...
git-svn-id: file:///svn/toku/tokudb@43468 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:29 -04:00
Rich Prohaska
0a2f3a36aa
#4869 increase test coverage of txn.c, remove spin locks refs[t:4869]
...
git-svn-id: file:///svn/toku/tokudb@43421 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
86b0dc74ad
[t:4814] fix cmake error
...
git-svn-id: file:///svn/toku/tokudb@43369 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
a759afe7bd
[t:4814] ignore warning about linking with dynamic cilkrts
...
git-svn-id: file:///svn/toku/tokudb@43342 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
2bd3f447c1
[t:4858] merge 4858 to mainline
...
git-svn-id: file:///svn/toku/tokudb@43285 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:26 -04:00
Leif Walsh
68fc66c88e
[t:4814] fixing unused parameter warning on osx
...
git-svn-id: file:///svn/toku/tokudb@43193 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:26 -04:00
Leif Walsh
63b1969fbb
[t:4814] merging cmake work to mainline
...
git-svn-id: file:///svn/toku/tokudb@43179 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:25 -04:00