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
|
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>
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 ...