654 Commits

Author SHA1 Message Date
mutouyun
e1c3594ca5 using ipc::buffer instead of std::vector<byte_t> 2018-12-31 22:22:54 +08:00
mutouyun
3bea8af992 eliminate potential problems 2018-12-30 21:17:25 +08:00
mutouyun
2b0f39e96e test detail::pool_alloc 2018-12-30 20:45:32 +08:00
mutouyun
cba780e9dc make pool_alloc public 2018-12-30 20:34:00 +08:00
mutouyun
e6fab3edeb cmake -DCMAKE_BUILD_TYPE=Release in .travis.yml 2018-12-30 16:44:20 +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
2941007301 use pool_alloc instead of std::allocator 2018-12-29 22:42:26 +08:00
mutouyun
8c75f8ad84 pool_alloc (TBD) 2018-12-29 18:31:01 +08:00
mutouyun
812d4b3be5 optimize channel performance 2018-12-29 12:12:27 +08:00
mutouyun
02a5920697 try pool_alloc (TBD) 2018-12-29 00:51:31 +08:00
木头云
47236c9f24
Update README.md 2018-12-28 18:28:11 +08:00
mutouyun
4bffd43b78 update README.md 2018-12-28 17:36:24 +08:00
mutouyun
dc5cb05cbd eliminate warnings 2018-12-28 16:07:16 +08:00
mutouyun
c3f7abf2e1 update benchmark data 2018-12-28 15:59:13 +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
aae13eba02 update README.md; still has bugs in channel 2018-12-27 21:58:14 +08:00
mutouyun
4253c1341c fix some bugs; add performance data to README.md 2018-12-27 20:06:36 +08:00
木头云
12efd8c973
Update LICENSE 2018-12-27 17:01:44 +08:00
木头云
a3247470e7
Update LICENSE 2018-12-27 16:59:30 +08:00
木头云
78b52fdce0
Update LICENSE 2018-12-27 16:56:54 +08:00
mutouyun
0ea8e27446 still has some bugs 2018-12-26 18:22:34 +08:00
mutouyun
6a2c7671db adjust memory order 2018-12-24 14:22:02 +08:00
mutouyun
a4079ab7af compiling error 2018-12-24 13:34:42 +08:00
mutouyun
492d095332 noexcept; adjust memory order 2018-12-24 13:29:20 +08:00
mutouyun
b815a5e50f channel::send will wait for a while & return false if there is no receiver 2018-12-24 12:11:50 +08:00
mutouyun
0eb61b8745 adjust file naming; supplement test cases 2018-12-24 11:56:42 +08:00
mutouyun
f962dc4cb5 adjust comment 2018-12-20 17:19:08 +08:00
mutouyun
b5ae2746a2 not throw but waiting when size == 0 2018-12-20 17:14:27 +08:00
木头云
0429a2c87b
Update .travis.yml 2018-12-20 16:53:34 +08:00
mutouyun
e54e9898fc complete all functions of ipc::channel (TODO: ut, benchmark) 2018-12-20 16:31:38 +08:00
mutouyun
70e1ac6865 linux shm should clear itself when all handles pointed it are released 2018-12-20 11:38:40 +08:00
mutouyun
238166bdc1 compile errors 2018-12-19 16:49:30 +08:00
mutouyun
4dfefb03ae Merge branch 'master' of https://github.com/mutouyun/cpp-ipc 2018-12-19 16:37:57 +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
木头云
93f17677bd
using gcc-7 2018-12-19 15:38:41 +08:00
木头云
cf5e2aa6fb
Update .travis.yml 2018-12-19 15:35:54 +08:00
木头云
e860eb5a4f
Update .travis.yml 2018-12-19 15:22:20 +08:00
mutouyun
9cbfb8624f separate def of route into a single cpp (test) 2018-12-19 12:18:53 +08:00
mutouyun
69449c0d4f fix clang-test crash 2018-12-19 11:37:31 +08:00
木头云
4c75b44547
reinterpret_cast may not be used in a constant expression. 2018-12-18 20:30:08 +08:00
mutouyun
69bc556a52 redesigning & refactoring (TBD) 2018-12-18 20:09:31 +08:00
mutouyun
2e05a0260d remove test_performance... 2018-12-17 23:15:43 +08:00
mutouyun
c80fbb32ea remove test_prod_cons<1, 8>() 2018-12-17 22:58:01 +08:00
mutouyun
99beccd157 error: ‘unordered_map’ in namespace ‘std’ does not name a template type 2018-12-17 22:48:59 +08:00
mutouyun
cc19a4e941 eliminate warning 2018-12-17 22:45:32 +08:00
mutouyun
09c3c557ba fix some bugs; use thread_local 2018-12-17 22:44:37 +08:00