如果你需要建置一個可以服務幾萬個連線的Server程式,想像資料庫吧!!
資料庫config裡面,可以透過 shared memory connection 以及 socket connection ,
如果你需要建置一個可以服務幾萬個連線的Server程式,想像資料庫吧!!
資料庫config裡面,可以透過 shared memory connection 以及 socket connection ,
#include "mpmc.hpp"
#include "lightsem.hpp"
#include <iostream>
#include <ios>
// ======== Begin Code ========