Skip to content

Instantly share code, notes, and snippets.

View leafbird's full-sized avatar

choi sung ki leafbird

View GitHub Profile
@ujentus
ujentus / WaitFreeQueue.cpp
Created November 7, 2012 08:48
MPSC Wait-free Queue for C++, Windows
#pragma once
/****************************************************************************
* Wait-Free MPSC Queue
* Minimum requirement: Windows XP or Windows Server 2003
* Author: @sm9kr
* License type: GPL v3
* References
** [1] http://groups.google.ru/group/comp.programming.threads/browse_frm/thread/33f79c75146582f3
** [2] http://www.boost.org/doc/libs/1_35_0/doc/html/intrusive/intrusive_vs_nontrusive.html