FastFlow  SVN-r182-Aug-14-2014
A high-level, lock-less, parallel programming (shared-memory) and distributed programming (distributed-memory) framework for multi-cores and many-cores systems
 All Classes Namespaces Files Functions Variables Typedefs Groups Pages
spin-lock.hpp File Reference

This file contains several alternative spin lock(s) implementations that can be used as FastFlow spin-lock. More...

#include <ff/sysdep.h>
#include <ff/platforms/platform.h>
#include <ff/config.hpp>
#include <ff/atomic/abstraction_dcas.h>
#include <atomic>
+ Include dependency graph for spin-lock.hpp:
+ This graph shows which files directly or indirectly include this file:

Detailed Description

This file contains several alternative spin lock(s) implementations that can be used as FastFlow spin-lock.

CLH spin-lock, ticket lock, XCHG-based spin-lock, AtomicFlagWrapper-based spin-lock, and counting ...