95 Commits

Author SHA1 Message Date
mutouyun
0d948b9dfd compile error for vs2015 (TBD) 2019-01-27 15:58:10 +08:00
mutouyun
b76375633c compile error (TBD) 2019-01-27 15:43:07 +08:00
mutouyun
fc1c058d10 add multi-wait (not ready, TBD) 2019-01-27 15:32:58 +08:00
mutouyun
c667f1513f add multi-wait (not ready, TBD) 2019-01-27 15:24:30 +08:00
mutouyun
59197f6c68 split condition & mutex from waiter-linux 2019-01-25 22:57:47 +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
3dc97ab6a6 try semaphore 2019-01-25 01:22:56 +08:00
mutouyun
a4b93f60cf waiter_impl -> waiter_wrapper 2019-01-25 00:11:26 +08:00
mutouyun
e8dda2c1d4 remove __has_include(<pthread.h>) 2019-01-24 23:47:45 +08:00
mutouyun
512de713f1 remove Wno-unused-variable 2019-01-24 23:20:50 +08:00
mutouyun
67972a8c7c add log 2019-01-24 23:13:15 +08:00
mutouyun
b2e48fc138 printf failure-log 2019-01-24 23:05:52 +08:00
mutouyun
5c9a8e0311 remove is_fixed (TBD) 2019-01-24 17:55:23 +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
c625a2e5ff IPC_UNUSED_ 2019-01-18 17:40:43 +08:00
mutouyun
b52eae7c90 IPC_UNUSED_ 2019-01-18 17:27:41 +08:00
mutouyun
e5a5b9f680 compatible with old compilers 2019-01-18 12:47:41 +08:00
mutouyun
e09ea90949 implement waiter_linux.h 2019-01-16 17:03:34 +08:00
mutouyun
d1822e9fc9 shm would fail with multi-thread accessing 2019-01-16 14:01:12 +08:00
mutouyun
7e44b2dd4d shm would fail with multi-thread accessing 2019-01-16 13:56:25 +08:00
mutouyun
127233ce94 qmake error 2019-01-15 23:25:45 +08:00
mutouyun
639eaa676e qmake error 2019-01-15 23:20:50 +08:00
mutouyun
b78257de86 update 2019-01-15 21:42:02 +08:00
mutouyun
8832877c6d update 2019-01-15 21:37:56 +08:00
mutouyun
d9e24236af add waiter for long-time wait. (TBD) 2019-01-15 21:22:09 +08:00
mutouyun
148344b09b update files 2019-01-08 18:35:58 +08:00
mutouyun
79f6775324 use circ::prod_cons to implement route & channel 2019-01-08 18:02:34 +08:00
mutouyun
8c75f8ad84 pool_alloc (TBD) 2018-12-29 18:31:01 +08:00
mutouyun
02a5920697 try pool_alloc (TBD) 2018-12-29 00:51:31 +08:00
mutouyun
64fc26733e use tls::pointer instead of thread_local 2018-12-28 14:53:34 +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
69bc556a52 redesigning & refactoring (TBD) 2018-12-18 20:09:31 +08:00
mutouyun
59a9df60c4 add test case 2018-12-17 00:00:13 +08:00
mutouyun
f09378b481 fix some bugs; if __has_include(<pthread.h>), using tls_pointer_linux.cpp; add some channel::send overloads 2018-12-16 21:30:55 +08:00
mutouyun
44ab812925 rename thread_local_ptr => tls::pointer 2018-12-15 19:30:22 +08:00
mutouyun
0c6a3862d0 use thread_local_ptr instead of thread_local 2018-12-14 23:57:31 +08:00
mutouyun
1e44d6f84e pimpl small object optimization 2018-12-14 18:50:20 +08:00
mutouyun
29d25e2226 add benchmark for lock-test 2018-12-12 17:48:02 +08:00
mutouyun
f3a73fcc4d remove std::string from export interface 2018-12-11 17:34:54 +08:00
mutouyun
9540842ba7 add ipc.cpp for implementation of ipc interfaces (TBD); restructure code 2018-11-29 23:05:53 +08:00
mutouyun
5fa9db52bf eliminate warning 2018-11-20 12:22:44 +08:00
mutouyun
050bb02198 first commit for shm. 2018-11-20 11:27:39 +08:00