This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! s:GetTabs() | |
" vim tab does not have name | |
" there is not a good way to detect if a diary is already open | |
redir => l:tabs_out | |
silent tabs | |
redir END | |
let l:tabs_out = split(l:tabs_out, '\n') | |
let l:tabs_len = len(l:tabs_out) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* ===================================================================================== | |
* | |
* Filename: fvThreadPool.h | |
* Created: 01/23/2016 13:46:24 | |
* Description: | |
* | |
* Version: 1.0 | |
* Revision: none | |
* Compiler: g++ -std=c++14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <cstdio> | |
#include <cstdlib> | |
#include <cstddef> | |
#include <cassert> | |
#include <vector> | |
#include <stdexcept> | |
#include "fflerror.h" // macro, same as std::runtime_error, but with file/function/line information | |
// #define SCOPED_ALLOC_USE_THROW |