檔案放置網頁
tcl-lmdb - Tcl interface to the Lightning Memory-Mapped Database
About
This is the Lightning Memory-Mapped Database (LMDB) extension for Tcl using the Tcl Extension Architecture (TEA).
LMDB is a Btree-based database management library with an API similar to BerkeleyDB. The library is thread-aware and supports concurrent read/write access from multiple processes and threads. The DB structure is multi-versioned, and data pages use a copy-on-write strategy, which also provides resistance to corruption and eliminates the need for any recovery procedures. The database is exposed in a memory map, requiring no page cache layer of its own. This extension provides an easy to use interface for accessing LMDB database files from Tcl.
Change Log
- generic/tclmdb.c: env_handle open command add option -fixedmap
- generic/tclmdb.c: Add a thread exit handler to delete hash table.
- generic/tclmdb.c: Try to use ThreadSpecificData to per thread hash table.
- generic/mdb.c: Update source code. LMDB 0.9.16 with extra fixes from github.
一些說明
試著使用更 thread-safe 的寫法。
沒有留言:
張貼留言