From: unknown Date: Mon, 13 Jan 2014 22:16:28 +0000 (-0800) Subject: Merge branch 'master' of https://github.com/malbrain/Btree-source-code X-Git-Url: https://pd.if.org/git/?a=commitdiff_plain;h=48501624b8372fa9c781c6f89f41b58d91338bb8;hp=d9fbfb94cb4c4fd9a5adbfd15a2fefab4f58fe47;p=btree Merge branch 'master' of https://github.com/malbrain/Btree-source-code --- diff --git a/README.md b/README.md index 7b2ba84..691c7b7 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,20 @@ 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. + threads2i.c Multi-Threaded/Multi-Process with latching implemented with test & set locks in the btree pages with Linux futex system calls for contention. 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