Reference CPU: Multicore AVX 2 capable
- Compiler / compile units / linker.
- Setup makefile
- Imperative algorithm
- Understand our processor
- bit/byte/word/dword/qword
#include <iostream> | |
#include <chrono> | |
#include <memory> | |
#include <functional> | |
using namespace std; | |
using namespace std::chrono; | |
class Base | |
{ |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Tcp.ConsoleApp { | |
// 클라이언트 |
#pragma once | |
/**************************************************************************** | |
* Wait-Free MPMC Queue | |
* Minimum requirement: Windows XP or Windows Server 2003 | |
* Author: @sm9kr | |
* License type: GPL v3 | |
* Drawback: Fixed size, __int64 overflow-able | |
****************************************************************************/ |
#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 |