65 Commits

Author SHA1 Message Date
mutouyun
448a4883f6 optimize the memory allocator 2019-10-07 11:23:31 +00:00
zhangyi
c8cedf11cf optimize memory allocator for big size memory 2019-07-05 18:53:30 +08:00
zhangyi
981124520c use make -j 2019-07-05 10:37:21 +08:00
zhangyi
a4a6a9ca66 fix some bugs; improve memory allocators 2019-07-03 18:41:46 +08:00
zhangyi
15e71bd1a1 add IPC_CONSTEXPR_;
add variable_wrapper instead of fixed_alloc_policy
2019-07-01 17:28:02 +08:00
mutouyun
50e29703dc modify pro files 2019-06-08 20:47:42 +08:00
mutouyun
6cc2913f6b crash may cause deadlock 2019-03-26 22:24:25 +08:00
mutouyun
79985df800 compiling error 2019-03-25 10:48:20 +08:00
mutouyun
881f98c241 update chat 2019-02-13 17:11:01 +08:00
mutouyun
e88a4cf865 add demo-chat 2019-02-13 15:48:55 +08:00
mutouyun
60276495b5 [TBD] add test-case; fix some bugs 2019-01-28 10:38:09 +08:00
mutouyun
e86d3e10e1 modify producer-consumer policy flag 2019-01-26 11:20:04 +08:00
mutouyun
617d18e1ce Wno-class-memaccess 2019-01-25 22:40:05 +08:00
mutouyun
c3f66d47bb prepare multi routes implementation 2019-01-25 18:28:39 +08:00
mutouyun
99926581d1 add error log (TBD); use pthread api for waiter 2019-01-25 11:59:53 +08:00
mutouyun
a4b93f60cf waiter_impl -> waiter_wrapper 2019-01-25 00:11:26 +08:00
mutouyun
512de713f1 remove Wno-unused-variable 2019-01-24 23:20:50 +08:00
mutouyun
5c9a8e0311 remove is_fixed (TBD) 2019-01-24 17:55:23 +08:00
mutouyun
949d338f31 prepare for elem_chan 2019-01-24 13:14:00 +08:00
mutouyun
12119f0f65 refactor 2019-01-24 12:13:13 +08:00
mutouyun
290b94902a define locked_pool_alloc 2019-01-21 12:02:38 +08:00
mutouyun
4d2b47cbb7 prepare for multi-thread fixed-alloc 2019-01-20 22:22:47 +08:00
mutouyun
44a9a4b98f try compatible with old compilers 2019-01-18 14:43:58 +08:00
mutouyun
99692221b7 try compatible with old compilers 2019-01-18 14:11:30 +08:00
mutouyun
e5a5b9f680 compatible with old compilers 2019-01-18 12:47:41 +08:00
mutouyun
d1822e9fc9 shm would fail with multi-thread accessing 2019-01-16 14:01:12 +08:00
mutouyun
d9e24236af add waiter for long-time wait. (TBD) 2019-01-15 21:22:09 +08:00
mutouyun
79f6775324 use circ::prod_cons to implement route & channel 2019-01-08 18:02:34 +08:00
mutouyun
f388a0a360 fix compiling error; preparing to refactor 2019-01-04 22:11:19 +08:00
mutouyun
17621c1e83 preparing to refactor 2019-01-04 18:48:21 +08:00
mutouyun
263f88b090 cmake 2019-01-01 16:26:22 +08:00
mutouyun
1cb279e450 test for cmake 2019-01-01 15:48:11 +08:00
mutouyun
6700956c63 update CMakeLists.txt 2019-01-01 15:24:11 +08:00
mutouyun
feb1869e11 using cmake for building test 2019-01-01 14:04:55 +08:00
mutouyun
e1c3594ca5 using ipc::buffer instead of std::vector<byte_t> 2018-12-31 22:22:54 +08:00
mutouyun
cba780e9dc make pool_alloc public 2018-12-30 20:34:00 +08:00
mutouyun
eac261b153 cmake error 2018-12-30 16:36:37 +08:00
mutouyun
319bcdab2f add test for pool_alloc 2018-12-30 16:28:14 +08:00
mutouyun
20caf4d1e1 cmake 2018-12-30 14:46:01 +08:00
mutouyun
9edad35713 add cmake support 2018-12-30 14:37:54 +08:00
mutouyun
02a5920697 try pool_alloc (TBD) 2018-12-29 00:51:31 +08:00
mutouyun
6434409487 -Wno-attributes 2018-12-28 15:04:21 +08:00
mutouyun
64fc26733e use tls::pointer instead of thread_local 2018-12-28 14:53:34 +08:00
mutouyun
4253c1341c fix some bugs; add performance data to README.md 2018-12-27 20:06:36 +08:00
mutouyun
0eb61b8745 adjust file naming; supplement test cases 2018-12-24 11:56:42 +08:00
mutouyun
e54e9898fc complete all functions of ipc::channel (TODO: ut, benchmark) 2018-12-20 16:31:38 +08:00
mutouyun
d0b4999af4 re-add ipc::channel (TBD); use hpp instead of cpp to implement channel/route, cause it could visit the internal entities which in ipc.cpp 2018-12-19 16:37:26 +08:00
mutouyun
9cbfb8624f separate def of route into a single cpp (test) 2018-12-19 12:18:53 +08:00
mutouyun
1e42cd794c add CONFIG += c++1z, some compiler need this 2018-12-17 13:50:09 +08:00
mutouyun
245964f13d CONFIG += c++1z may fail 2018-12-17 13:24:37 +08:00