Thread Safe Template Library

Thread Safe Template Library (TSTL) is a C++ library that provides thread-safe storage data structures without global locking. It includes classes for maps based on a non-binary extensible hashing tree for very fast access, a pipe, a queue, a timercache, a limitcache, and a fast writer multiple reader guard (or 'rwlock') without global locking (which uses the atomic C++0x API based on the interlocked instruction set of the CPU). It's useful for writing multi-threaded applications and operating system components.

Tags Operating System Kernels Linux BSD Software Development Libraries
Operating Systems POSIX Linux BSD FreeBSD Windows Windows Windows Windows Unix
Implementation C++

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  05 Feb 2009 18:45
  • Rrelease-after

Changes: A limitcache::set_at () deadlock was fixed.

  • Rrelease-mid
  •  15 Jan 2009 16:05
  • Rrelease-after

Changes: A bug concerning building with MS VS 2005 was fixed.

  • Rrelease-mid
  •  11 Dec 2008 13:29
  • Rrelease-after

Changes: MS interlocked inline functions were replaced with an atomic API (based on the C++0x draft document). Names in the library were lower-cased. The queue template was replaced with a new variant with only one atomic operation without global locking. The 'wmrg' template was renamed to 'rwlock'. All template definitions were moved to the 'tstl' namespace.

  • Rrelease-mid
  •  13 Nov 2008 13:17
  • Rrelease-after

Changes: Bugs in the "relocker" template and GNU assempler inline macros were fixed. The "unilocker" template was added. All templates use "unilocker" instead of RESOURCE_LOCK() macros now.

  • Rrelease-mid
  •  11 Nov 2008 18:26
  • Rrelease-after

Changes: A new class 'relocker' was added. It's an implementation of a re-enterable locker with two locking politics: waitable locker and spin locker.

No-screenshot

Project Spotlight

HermesPost

A network Postscript to PDF converter.

B38311fd78baf5c80255d56cd2133eae_thumb

Project Spotlight

Piggydb

A knowledge creation system.