26 Commits

Author SHA1 Message Date
mutouyun
19d1724188 wait_if should return a value 2019-02-12 23:31:02 +08:00
mutouyun
4262f7bd34 Merge remote-tracking branch 'remotes/origin/master' 2019-02-12 13:47:31 +08:00
mutouyun
1cf69038bb clear codes 2019-02-12 13:46:43 +08:00
mutouyun
52302cc007 add wait-if for waiter 2019-02-12 13:22:49 +08:00
mutouyun
f7f06ab052 give up multi-wait temporarily 2019-02-04 10:41:39 +08:00
mutouyun
e94318c9a6 fix bugs for waiter of linux (still has some bugs in win, multi-wait is TBD) 2019-01-31 14:57:42 +08:00
mutouyun
eef3cc01f0 [TBD] fine-tune code 2019-01-28 10:50:35 +08:00
mutouyun
60276495b5 [TBD] add test-case; fix some bugs 2019-01-28 10:38:09 +08:00
mutouyun
018bea223e try semaphore 2019-01-27 20:43:23 +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
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
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
639eaa676e qmake error 2019-01-15 23:20:50 +08:00
mutouyun
d9e24236af add waiter for long-time wait. (TBD) 2019-01-15 21:22:09 +08:00