One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| #ifndef _SPINLOCK_H_20170410_ | |
| #define _SPINLOCK_H_20170410_ | |
| #include <atomic> | |
| class spinlock { | |
| public: | |
| spinlock() { m_lock.clear(); } | |
| spinlock(const spinlock&) = delete; | |
| ~spinlock() = default; | 
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why `make` is so great, and why, despite its "weird" syntax, | |
| # it is actually a highly expressive, efficient, and powerful way to build | |
| # programs. | |
| # | |
| # Once you're done here, go to | |
| # http://www.gnu.org/software/make/manual/make.html | |
| # to learn SOOOO much more. | 
| " Combination of these setting plus others | |
| " http://amix.dk/vim/vimrc.html | |
| " https://github.com/jaysw/dotfiles/blob/master/vimrc | |
| """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " => https://github.com/junegunn/vim-plug | |
| """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| filetype off " required | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'davidhalter/jedi-vim', { 'for': 'python' } | 
Picking the right architecture = Picking the right battles + Managing trade-offs
| #include <stdio.h> | |
| #include <winsock2.h> | |
| #include <stdbool.h> | |
| #include "wepoll.h" | |
| #pragma comment(lib,"ws2_32.lib") | |
| #define MAXEVENTS 64 | |
| #define BUF_SIZE 100 | 
| // "License": Public Domain | |
| // I, Mathias Panzenböck, place this file hereby into the public domain. Use it at your own risk for whatever you like. | |
| // In case there are jurisdictions that don't support putting things in the public domain you can also consider it to | |
| // be "dual licensed" under the BSD, MIT and Apache licenses, if you want to. This code is trivial anyway. Consider it | |
| // an example on how to get the endian conversion functions on different platforms. | |
| #ifndef PORTABLE_ENDIAN_H__ | |
| #define PORTABLE_ENDIAN_H__ | |
| #if (defined(_WIN16) || defined(_WIN32) || defined(_WIN64)) && !defined(__WINDOWS__) |