Commit Graph

1231 Commits

Author SHA1 Message Date
zhengshuxin
76889c5b35 master: supporting start service with absolute path 2017-11-07 11:54:12 +08:00
zhengshuxin
652b567c9e fiber: add signal handling, fixed one bug that 32 integer overflow 2017-11-02 11:09:24 +08:00
zhengshuxin
231c7b0e4c fiber: pread/pwrite were hooked 2017-10-29 11:04:21 +08:00
zhengshuxin
7e1c8226a5 fiber: add safety checking in fiber lock 2017-10-27 20:27:50 +08:00
zhengshuxin
46cc12739f compiling: fixed compiling error on vc 2017-10-27 16:33:56 +08:00
zhengshuxin
b7c6384b1e fixed one compiling error 2017-10-27 14:15:42 +08:00
zhengshuxin
a9ffe34907 rpm : update version 2017-10-27 13:54:58 +08:00
zhengshuxin
8b24ba7ac2 fiber: fixed bug in fiber that the signed int maybe overflow 2017-10-27 13:51:47 +08:00
zhengshuxin
7b4023940f fiber: fixed one bug that signed int maybe overflow. 2017-10-27 13:50:11 +08:00
zhengshuxin
db886f9d62 master: all server template support waiting the service starting status 2017-10-27 11:38:10 +08:00
zhengshuxin
52e401c142 event: events_epoll_thr.cpp, fixed one bug in event_enable_write function 2017-10-27 11:37:28 +08:00
zhengshuxin
284a672677 redis: fixed one bug in redis_hash::hmset 2017-10-27 00:05:28 +08:00
zhengshuxin
bc4f60a2d3 acl_master: when starting services remotely, users can wait the result of the services' starting status or not. 2017-10-27 00:00:41 +08:00
zhengshuxin
0060ea9487 add service status type header 2017-10-26 22:00:14 +08:00
zhengshuxin
66992ee4e5 fiber: sendfile/sendfile64 has been hooked 2017-10-20 10:27:25 +08:00
zhengshuxin
4235dcd1d9 fiber: EVENT's members poll_list & epoll_list can use FIFO or STACK, other than RING 2017-10-20 10:19:34 +08:00
centos6.9-32
70f510b33f remove debug info 2017-10-16 22:46:30 -07:00
centos6.9-32
beb5b6ec98 fiber: add API can get/set system errno 2017-10-16 22:41:10 -07:00
zhengshuxin
d83875cfc4 fiber: hook sendfile API 2017-10-16 18:24:52 +08:00
zhengshuxin
5dd77e8d76 building: auto compile and install fiber module for Linux 2017-10-16 10:30:59 +08:00
zhengshuxin
1d5d556bfd fiber_lock: use thread muext as default 2017-10-14 23:18:15 +08:00
zhengshuxin
580c4023d1 fiber_lock: disable EVENT notify 2017-10-13 10:32:50 +08:00
zhengshuxin
82b7fd1ca6 mbox class: copy constructor is denied. 2017-10-13 09:58:34 +08:00
zhengshuxin
7749e15bcc fiber: test 2017-10-12 18:59:50 +08:00
zhengshuxin
41a391b39c fiber_lock: test io mode 2017-10-11 23:15:13 +08:00
zhengshuxin
cde67b5b30 fiber_lock: test 2017-10-11 19:29:11 +08:00
zhengshuxin
57e4c8663d thread_lock: fixed bug 2017-10-10 14:05:57 +08:00
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