44 Commits

Author SHA1 Message Date
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
木头云
131f2efd60
Update src.pro 2018-12-17 13:22:38 +08:00
mutouyun
44ab812925 rename thread_local_ptr => tls::pointer 2018-12-15 19:30:22 +08:00
mutouyun
0285e2d6e1 mv thread_local_ptr.h to include 2018-12-15 11:57:02 +08:00
mutouyun
0c6a3862d0 use thread_local_ptr instead of thread_local 2018-12-14 23:57:31 +08:00
mutouyun
bc25cd6912 change interface name for rw_lock 2018-12-12 16:14:04 +08:00
mutouyun
449cf75da9 put rw_lock to a single header file 2018-12-11 20:56:13 +08:00
mutouyun
85bb05bb52 complete ipc send & recv; prepare ipc::channel; add ipc ut (basic test); add ut suit name; 2018-11-30 17:32:09 +08:00
mutouyun
9540842ba7 add ipc.cpp for implementation of ipc interfaces (TBD); restructure code 2018-11-29 23:05:53 +08:00
mutouyun
518fc000e7 add ipc.h 2018-11-29 18:33:58 +08:00
mutouyun
2905b55fcf ipc::circ::queue & test_queue 2018-11-27 22:16:03 +08:00
mutouyun
fa2c8200bf prepare for circ_queue 2018-11-27 20:57:34 +08:00
mutouyun
21789676e7 move circ_elem_array.h to include dir 2018-11-27 20:50:40 +08:00
mutouyun
3e7c97d9b6 rename: circ_queue.h => circ_elem_array.h; support N:M (TBD) 2018-11-23 18:35:13 +08:00
mutouyun
17375bb32c add circ_queue 2018-11-20 23:04:32 +08:00
mutouyun
050bb02198 first commit for shm. 2018-11-20 11:27:39 +08:00