From: Karl Malbrain Date: Sat, 25 Jan 2014 01:11:18 +0000 (-0800) Subject: explain latch manager in foster btree code X-Git-Url: https://pd.if.org/git/?p=btree;a=commitdiff_plain;h=06555f8de1409c22041b5b6f62f70fd186ebcba6 explain latch manager in foster btree code --- diff --git a/README.md b/README.md index 54f9d23..bd5b45d 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,11 @@ threads2i.c Multi-Threaded/Multi-Process with latching implemented by a latc threads2j.c Multi-Threaded/Multi-Process with latching implemented by a latch manager with test & set locks in the first few btree pages with Linux futex system calls during contention. -The Foster set includes three types of latching: +The Foster code set includes the same three types of latching: Fosterbtreee.c Multi-Threaded/Single Process with latching implemented by a latch manager with pthreads/SRW latches in the first few btree pages. -Fosterbtreef.c Multi-Threaded/Multi-Process with latching implemented by a latch manager with test & set locks in the first few btree pages with thread yield system calls during contention. +Fosterbtreef.c Multi-Threaded/Multi-Process with latching implemented by a latch manager with test & set latches in the first few btree pages with thread yield system calls during contention. Fosterbtreeg.c Multi-Threaded/Multi-Process with latching implemented by a latch manager with test & set locks in the first few btree pages with Linux futex system calls during contention.