27 sites in Threads
Generic Synchronization Policies in C++
Save
Most uses of synchronization code in multi-threaded applications fall into a small number of high-level “usage patterns”, or what can be called generic synchronization policies (GSPs). This paper illustrates how the use of such GSPs simplify the writing of thread-safe classes. In addition, this paper presents a C++ class library that implements commonly-used GSPs.
http://www.ciaranmchale.com/gsp/
Lock-free Interprocess Communication
Save
Interprocess communication is an essential component of modern software engineering. Often, lock-free IPC is accomplished via special processor commands. This article propose a communication type that requires only atomic writing of processor word from processor cache into main memory and atomic processor word reading from main memory into the processor register or processor cache.
http://www.ddj.com/dept/cpp/189401457
Protothreads
Save
Very lightweight stackless threads; give linear code execution for event-driven systems, designed to use little memory; library is pure C, no platform-specific Assembly; usable with or without OS. Open source, BSD-type license.
http://www.sics.se/~adam/pt/
Forum - Usenet comp.programming.threads
See also