From: unknown Date: Mon, 13 Jan 2014 22:00:01 +0000 (-0800) Subject: Merge branch 'master' of https://github.com/malbrain/Btree-source-code.git X-Git-Url: https://pd.if.org/git/?a=commitdiff_plain;h=81d755dfab3eb03bf41b888a1e64629c3e396854;hp=52f68bc6737d5afee8a12dbba7cece08f115547e;p=btree Merge branch 'master' of https://github.com/malbrain/Btree-source-code.git --- diff --git a/README.md b/README.md new file mode 100644 index 0000000..37383fc --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +Btree-source-code +================= + +A working project for High-concurrency B-tree source code in C + +There are three major code sets in the btree source code: + +btree2q.c Single Threaded/MultiProcess with latching supplied by advisory file locking. Works with network file systems. +threads2h.c Multi-Threaded/Multi-Process with latching implemented with test & set locks in the btree pages. + +The Foster set includes three types of latching: + +Fosterbtreee.c Multi-Threaded/Single Process with latches hosted by the buffer pool manager +Fosterbtreef.c Multi-Threaded/Multi-Process with latches hosted by a latch manager using the first few pages of the btree. +Fosterbtreeg.c Multi-Threaded/Multi-Process with latches implemented with test & set locks in the btree pages. + +Compilation is achieved on linux or Windows by: + +gcc -D STANDALONE threads2h.c -lpthread + +or + +cl /D STANDALONE threads2h.c + +Please see the project wiki page for documentation