Commit Graph

90 Commits

Author SHA1 Message Date
zhengshuxin
2081b206c2 set free_obj's default value to true 2019-01-02 11:25:17 +08:00
zsx
ea8462f1ef add tcp_keeper class for tcp connections keepalive 2018-12-28 21:46:01 +08:00
zsx
7ab0b6f5e3 fixed bugs in acl_fiber_cond_wait/acl_fiber_cond_timedwait that detaching fbase must before calling acl_fiber_event_wait 2018-12-27 10:07:14 +08:00
zsx
0004373bcd fixed bugs of acl_fiber_cond_timedwait in acl_fiber_cond.c 2018-12-25 11:32:42 +08:00
zsx
34a8d82734 fiber_server.cpp: service can't exit correctly when some connections is still connected. 2018-12-20 15:45:52 +08:00
zsx
56c8a058f4 fiber_event.c: fixed one bug in acl_fiber_event_notify 2018-11-29 22:44:16 +08:00
zsx
e48753986e fbase_event.c: restart IO when IO process is interrupted by EINTR. 2018-11-29 11:28:48 +08:00
zsx
877e7aa5d4 lib_fiber's changes.txt 2018-11-28 15:53:27 +08:00
zsx
ec495072b1 lib_fiber/c/src/fiber_event.c: fixed one bug for lock conlision 2018-11-28 09:47:04 +08:00
zsx
92ffb2cc9d fixed one bug in fiber_event.c 2018-11-27 14:51:11 +08:00
zsx
2d0cd3ed91 acl::fiber_event using FIBER_FLAG_USE_MUTEX as default 2018-11-26 09:53:32 +08:00
zsx
8064aaab35 fixed one bug in iocp_check of file event_iocp.c 2018-11-26 09:22:55 +08:00
zsx
127f6e0c33 acl_set_core_limit can only be used on UNIX-like OS. 2018-10-31 17:10:06 +08:00
zsx
ea3d71999a limit the core file's size and disable creating core when process is exiting. 2018-10-23 13:29:21 +08:00
zsx
ae8b5cf026 fxied one bug in getaddrinfo.c of lib_fiber 2018-09-20 09:56:15 +08:00
zsx
ac7a0d4c5b fixed bugs in acl_write_wait.c: when POLLHUP and POLLERR returned, don't return -1 2018-05-17 16:45:15 +08:00
zsx
cb1503a067 fiber lib can be used on MacOS 2018-04-24 14:38:48 +08:00
zsx
618592e086 all the fibers memory in dead fibers or aliving status should be freed when acl_fiber_stop been called 2018-04-17 11:33:20 +08:00
zsx
0c93b9a090 gethostbyname should be fiber-safety. 2018-03-05 13:42:39 +08:00
zsx
4f70948a8d fiber on FreeBSD with kqueue is OK! 2018-02-06 19:24:28 +08:00
zsx
3c46adddb3 fiber_server: support setting schedule event type in configure. 2018-02-05 10:16:52 +08:00
郑树新
342f42c38a fiber: support winsock IOCP event. 2018-02-01 18:40:31 +08:00
zsxxsz
2e38ce1365 fiber schedule process can be triggered automaticly. 2018-01-28 12:34:23 +08:00
zsx
21119f88a0 master_guard: add all info for version 2018-01-23 19:48:45 +08:00
zsxxsz
5fcd7a20c3 select/WSAPoll of Windows disable non SOCKETS been set. 2018-01-22 23:45:00 +08:00
zsx
12fe61726a fiber_io.c: IO fiber can exit automatically when no FD and no timer. 2018-01-22 17:31:00 +08:00
zsxxsz
de8be9ca0f fiber's event_poll.c can handle POLLERR | POLLHUP | POLLNVAL 2018-01-21 11:40:34 +08:00
郑树新
d819724c3b fiber performance: improve the messages handling performance in Windows 2018-01-17 14:10:19 +08:00
郑树新
4afcac70a0 improve fiber IO performance when using timedwait read/write. 2018-01-16 18:24:13 +08:00
zsxxsz
768d30a56c fiber for windows OS can use IO read/write with timed waiting by using select/poll;
ACL_VSTREAM's NETWORK IO read/write interface can be hooked by user's IO API.
2018-01-14 22:54:44 +08:00
zsx
05b485b6c4 fiber: add kqueue of FreeBSD, so acl fiber can support FreeBSD 2017-12-28 17:49: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
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
zhengshuxin
652b567c9e fiber: add signal handling, fixed one bug that 32 integer overflow 2017-11-02 11:09:24 +08:00
zhengshuxin
8b24ba7ac2 fiber: fixed bug in fiber that the signed int maybe overflow 2017-10-27 13:51:47 +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
9970075fa1 fiber_mutex: fixed one bug when thread_safe parameter is set true 2017-10-10 11:47:35 +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
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
08e241acb8 add trigger.hpp for trigger events by time. 2017-09-18 18:59:59 +08:00
zhengshuxin
101ad0e6e1 fiber server template can tell master its status after reloading 2017-09-10 17:16:06 +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