Commit Graph

123 Commits

Author SHA1 Message Date
zsx
99d14ba217 add lost files 2017-12-22 15:17:43 +08:00
zsx
f5ccd3a22c fixed build fiber error by xmake 2017-12-21 22:51:00 +08:00
zsx
a94fd0299b fiber's dns module can unloaded automaticly when process exiting 2017-12-21 22:23:07 +08:00
zsx
ce60c66bc7 diable valgrind for fiber's release 2017-12-21 18:56:41 +08:00
zsx
19d13adcf9 new fiber module will be ready:) 2017-12-21 18:55:50 +08:00
zsx
d6addafe44 add UNLIKELY for improving performance 2017-12-21 16:13:09 +08:00
zsx
ab44af95c6 fixed some event problems 2017-12-21 15:46:48 +08:00
zsx
64b6a0eb6d fiber_server.cpp should open REUSEPORT flag when runing alone with multi-threads 2017-12-21 11:23:58 +08:00
zsx
f1947a43d6 replace fiber module with the new libaray. 2017-12-20 23:30:33 +08:00
zsx
9638c50179 fiber: fixed one urgent bug in hook_net.c for hooking poll API 2017-12-19 18:56:47 +08:00
zsx
f65d447815 new event for fiber 2017-12-18 16:57:57 +08:00
zsx
1b164db078 ssl: polarssl_conf's init should not in constructor 2017-12-07 16:24:21 +08:00
zsx
95d67507d5 fiber's compile: fixed one warning when USE_JMP not be defined. 2017-11-30 10:59:25 +08:00
ruki
987385ea6e add xmake.lua 2017-11-30 10:04:15 +08:00
zsx
bc2d7c81c8 fiber: eventfd should be ignored on kernel below 2.6.22. 2017-11-24 15:53:43 +08:00
zsx
71289ca92f fiber_event is ok 2017-11-24 15:24:17 +08:00
zsx
450d06a66c fier: add acl_fiber_event_trywait 2017-11-24 11:10:44 +08:00
zsx
173e43bb47 fiber: rename acl_fiber_event_signal to acl_fibrer_event_notify. 2017-11-24 10:42:10 +08:00
zsx
41d1e116d1 fiber: add fiber_event.c which can support mutex lock between fibers and threads with very high performance. 2017-11-23 12:23:17 +08:00
zsx
27f13c2a13 fiber: add fiber_lock_r 2017-11-23 00:36:15 +08:00
zsx
1d35005fca fiber: add fiber_lock_r which can use in threads + fibers 2017-11-23 00:35:51 +08:00
zhengshuxin
b92f241603 fiber_server: not notify master in non-daemon mode 2017-11-13 21:45:59 +08:00
zhengshuxin
bf5252dd65 fiber: fixed one compiling error on centos5.x 2017-11-09 19:07:41 +08:00
zhengshuxin
c9267f4d93 master template: remove unused args 2017-11-07 17:08:54 +08:00
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
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
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
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
7749e15bcc fiber: test 2017-10-12 18:59:50 +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
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
3d71e10668 fiber: fiber_lock can trigger immediately with IO event 2017-10-01 13:54:57 +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
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
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
e71afae8a2 fiber: hook_net.c supports epoll_create1 API 2017-09-20 17:45:27 +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
101ad0e6e1 fiber server template can tell master its status after reloading 2017-09-10 17:16:06 +08:00
zhengshuxin
1a36ede275 fiber_server.c supports setuping SIGTERM; 2017-09-06 15:46:39 +08:00
zhengshuxin
c9f0a6b92e add fiber timer for C++ module 2017-08-25 13:34:48 +08:00
zhengshuxin
2016e3b46a fiber_server.c can support reuseport when running alonely. 2017-08-21 17:39:48 +08:00