Commit Graph

1204 Commits

Author SHA1 Message Date
zhengshuxin
9970075fa1 fiber_mutex: fixed one bug when thread_safe parameter is set true 2017-10-10 11:47:35 +08:00
zhengshuxin
b998731976 building: modify Makefiles to build more quickly on multi-cores CPU 2017-10-10 10:19:59 +08:00
zhengshuxin
cd5b074aa5 fiber_lock: in_ and out_ should be set to -1 if thread_safe is false 2017-10-09 15:28:16 +08:00
zsx
ac8df09fb6 add event_mutex class into xcode project. 2017-09-25 14:14:02 +08:00
zhengshuxin
e8219034c3 sql in db.sql is error 2017-10-08 22:29:03 +08:00
zhengshuxin
98617f7c8d delete unused files. 2017-10-08 18:29:26 +08:00
zhengshuxin
29513259ed fiber_lock: can use thread_mutex or atomic lock for threads safety mutex 2017-10-08 14:42:01 +08:00
zhengshuxin
4a64289643 test event_mutex & fiber_lock 2017-10-08 12:07:17 +08:00
zhengshuxin
1050d4e45f event_mutex: add event_mutex sample in fiber mode; testing event_mutex ok in threads & fibers running modes. 2017-10-08 00:06:12 +08:00
zhengshuxin
e150f36373 modify changes.txt 2017-10-06 23:24:14 +08:00
zhengshuxin
f3835a9844 add self() into thread.hpp 2017-10-06 23:19:37 +08:00
zhengshuxin
ed31366891 add event_mutex class files into vc projects 2017-10-06 23:14:34 +08:00
zhengshuxin
03c4161e6b add samples event_mutex to test event_mutex in lib_acl_cpp 2017-10-06 23:07:39 +08:00
zhengshuxin
cf735fe123 add event_mutex into lib_acl_cpp, which can support threads & fibers
mutex by using IO + atomic as mutex
2017-10-06 23:05:14 +08:00
zhengshuxin
cbab14ffb2 when openning one connection is blocked in peek(), this operation
will block the other threads's when calling peek(), so the open()
should be aparted from lock scope.
2017-10-06 17:53:02 +08:00
zhengshuxin
ae17076f4a fiber_lock: add logger info when eventfd error 2017-10-01 21:34:24 +08:00
zhengshuxin
c2b85d8c87 delete tmp file 2017-10-01 14:03:37 +08:00
zsxxsz
607905bfec compile: There's one compiling error in acl_atomic_int64_cas. 2017-10-01 13:59:02 +08:00
zhengshuxin
3d71e10668 fiber: fiber_lock can trigger immediately with IO event 2017-10-01 13:54:57 +08:00
zhengshuxin
4887620f18 fiber samples: add thread_lock for testing acl::fiber_lock in threads+fiber mode. 2017-10-01 13:54:18 +08:00
zhengshuxin
ffd5e43647 fiber_mutex: when blocked by thread mutex, the current fiber will be swapout 2017-09-29 23:15:42 +08:00
zhengshuxin
9729e73bcb rpm: update version 2017-09-29 17:57:54 +08:00
zhengshuxin
eb913000c1 fiber_mutex: auto check fiber::scheduled() 2017-09-29 17:55:46 +08:00
zhengshuxin
563ce8a395 feature: thread_mutex supports recursive parameter;
feature: fiber_mutex supports thread_mutex;
2017-09-29 17:35:17 +08:00
zhengshuxin
37a2eb813b rpm: update rpm version 2017-09-28 17:15:40 +08:00
郑树新
5bda421b74 mbox: add debug info 2017-09-28 16:57:15 +08:00
郑树新
868bef0fb9 compile: one compiling warning by vc 2017-09-28 14:27:44 +08:00
zhengshuxin
672b66caf2 rpm: add version for rpm 2017-09-28 12:32:49 +08:00
zhengshuxin
83724d3e8a valgrind: free global objects when process exiting to avoid valgrind reporting error. 2017-09-28 12:29:20 +08:00
zhengshuxin
54cc65db8d fiber: free static or global dynamic object when process exiting. 2017-09-27 19:26:08 +08:00
zhengshuxin
0bb8cb9c6c format c++ code style 2017-09-26 11:48:09 +08:00
zhengshuxin
0f08451aa6 master: format c++ code style. 2017-09-24 21:10:28 +08:00
zhengshuxin
cbb0d99897 rpm: increase rpm version 2017-09-23 19:53:13 +08:00
zhengshuxin
17824b3d98 fiber: support hooking mkdir API 2017-09-23 19:51:03 +08:00
zhengshuxin
dbfa9e8c10 lib_fiber: hook_io.c supports hooking stat/fstat/lstat 2017-09-23 00:27:26 +08:00
zhengshuxin
5f85f366f0 rpm: add package version 2017-09-22 18:08:30 +08:00
zhengshuxin
73fdae6530 acl_master's manage: restructure manage web module 2017-09-22 18:05:34 +08:00
zsx
ea61c76939 build ok on MacOSX by xcode 2017-09-19 10:49:13 +08:00
郑树新
0bf16cd1f8 build ok on windows by vc 2017-09-21 17:34:25 +08:00
zhengshuxin
cfcfb2de5c rpm: add version to 3.3.0-20 2017-09-21 16:32:00 +08:00
zhengshuxin
9cc8ae78aa rpm: add version to 3.3.0-19 2017-09-21 16:21:42 +08:00
zhengshuxin
c57beda5df method name in bitmap class maybe collision with some macro on some platfom 2017-09-21 16:18:15 +08:00
zhengshuxin
70f4b50ee1 fixed bugs in event timer module 2017-09-21 16:00:44 +08:00
zhengshuxin
e71afae8a2 fiber: hook_net.c supports epoll_create1 API 2017-09-20 17:45:27 +08:00
zhengshuxin
0ef32e70fd rpm: add version 2017-09-20 17:31:17 +08:00
zhengshuxin
892e102435 EVENT: tring to check fd's type by add call ev->add 2017-09-20 16:59:12 +08:00
zhengshuxin
138a6ae458 RPM: add version to 3.3.0-15 2017-09-19 18:26:44 +08:00
zhengshuxin
d1410faa0a modify rpm version 2017-09-19 17:20:48 +08:00
zhengshuxin
fbc8ad7b9c Fixed one bug in acl_udp_server.c when sending status to acl_master 2017-09-19 17:19:49 +08:00
zhengshuxin
fd66d9bbc4 fixed one bug in acl_udp_server.c when sending status to master 2017-09-19 17:16:36 +08:00