我在 stackoverflow 問了一個問題  !!!

http://stackoverflow.com/questions/20490058/confusing-core-dump-while-implementing-semaphore

hedgezzz 發表在 痞客邦 留言(0) 人氣()

#include <iostream>
#include <vector>

hedgezzz 發表在 痞客邦 留言(0) 人氣()

void funcclose(FILE* f)
{

hedgezzz 發表在 痞客邦 留言(0) 人氣()

//http://scrupulousabstractions.tumblr.com/post/37576903218/cpp11style-no-new-delete
#include <thread>

hedgezzz 發表在 痞客邦 留言(0) 人氣()

三個地方在 c++0x 而不是 c++11 時必須修改 :

1.  using LargeArray= array<int,10000>; 改成 typedef array<int,10000>  LargeArray  ;

hedgezzz 發表在 痞客邦 留言(0) 人氣()

//http://scrupulousabstractions.tumblr.com/post/37576903218/cpp11style-no-new-delete
/* stephantl_make_unique.h

hedgezzz 發表在 痞客邦 留言(0) 人氣()

http://da-data.blogspot.tw/2013/03/optimistic-cuckoo-hashing-for.html#!/2013/03/optimistic-cuckoo-hashing-for.html

https://github.com/efficient/libcuckoo

hedgezzz 發表在 痞客邦 留言(0) 人氣()

http://codecapsule.com/2013/05/13/implementing-a-key-value-store-part-5-hash-table-implementations/
http://preshing.com/20110603/hash-table-performance-tests/

hedgezzz 發表在 痞客邦 留言(0) 人氣()

因為 clients 超過 1000 個,所以使用 event 方式而不產生 threads, 每個 client 都將自己

想要看的股票代碼傳進來 , 此時使用 lockfreequeue 把 client 欲刪除/增加 的股票代碼 傳進去每個

hedgezzz 發表在 痞客邦 留言(0) 人氣()

class People
{

hedgezzz 發表在 痞客邦 留言(0) 人氣()