Projects / Thread Safe Template Library

Thread Safe Template Library

Thread Safe Template Library (TSTL) is a C++ library that provides thread-safe containers with high grade of locking. It includes classes for multimaps based on a B-tree and a hash table. It also includes classes for a queue, a priority queue, a pipe, an alloccache, a timercache, a limitcache without global locking, and a fast shared mutual exclusion locker (also known as "rwlock" or "wmrg"). It's useful for writing multi-threaded applications, network services, and operating system components with high requirements for interactivity level.

Tags
Licenses
Operating Systems
Implementation

RSS Recent releases

  •  14 May 2010 10:34

Release Notes: The library was ported to gcc AMD64 (EM64T). The previous port for gcc x32 was optimized. For MSVC x32, the inline function interlocked_exchange() was optimized.

  •  28 Apr 2010 21:31

Release Notes: The shared locker was reimplemented (placed in rwlock template). The shared policy controller was introduced in rwlock template. A new shared lock - lightlock :: rwlock template was added. Compile bugs in the timer_cache template were fixed.

  •  22 Jan 2010 18:27

Release Notes: Bugfixes in container support after allocators were introduced. Copy constructors were added to set_at methods in the nbmap, pbmap, timercache, and limitcache templates. Copy constructors were added to cqueue, iqueue, and pipe template. The pipe template was fully refactored. An alloc_cache_array template was added.

  •  09 Dec 2009 18:23

Release Notes: A bug was fixed in allocating the cache template. A building bug was fixed in the multi-map template.

  •  07 Dec 2009 18:21

Release Notes: Container support was introduced. memcpy () and similar were removed. The container interface was refactored. Extra parameter links were removed. Building bugs were fixed in the classic queue template. The documentation was updated.

Screenshot

Project Spotlight

Numerical Python

A fast and sophisticated array facility for Python.

Screenshot

Project Spotlight

Dursamvad

A simple RS232 terminal for Linux.