Commit Graph

433 Commits

Author SHA1 Message Date
郑树新
6e9691397a build ok for vc 2019-01-14 15:33:51 +08:00
zsx
1edd724a8d fixed one bug in fiber for stopping scheduling automatically 2019-01-14 14:34:14 +08:00
zsx
1cd42a9213 optimize tcp_keeper 2019-01-14 14:34:00 +08:00
zhengshuxin
2081b206c2 set free_obj's default value to true 2019-01-02 11:25:17 +08:00
zhengshuxin
480a8c9403 optimise fiber 2019-01-02 11:12:55 +08:00
zsx
03e2cf0a31 optimize tcp_keeper 2018-12-31 22:02:21 +08:00
zsx
5bb7daf807 tcp_keeper: add ttl controling for connection and connections pools;
http_request/http_client add controling parameters
2018-12-29 15:42:03 +08:00
zsx
ac311dd2d1 disable valgrind 2018-12-28 22:22:58 +08:00
zsx
ea8462f1ef add tcp_keeper class for tcp connections keepalive 2018-12-28 21:46:01 +08:00
zsx
fcfaddcf35 add syscall for hook system API 2018-12-27 17:35:18 +08:00
zsx
ff8a217755 acl_fiber_event.c: fixed one bug in event_ferror 2018-12-27 11:06:13 +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
e2fbff2b9b add fiber_tbox sample 2018-12-27 10:02:04 +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
50be7b26a6 fiber_cond.c: fixed one bug in acl_fiber_cond_timedwait when timeout happened 2018-12-24 17:12:10 +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
605adfb614 disable debug fiber with valgrind 2018-12-16 17:46:47 +08:00
zsx
bd6375fe2a connect_manager: support fiber running in threads 2018-12-16 16:47:51 +08:00
zsx
b9ff539209 build fiber for Linux ok 2018-12-14 16:39:13 +08:00
郑树新
fcd083d307 build on Windows ok 2018-12-14 16:34:28 +08:00
zsx
a1636cb371 fixed sample's bug 2018-12-14 11:47:17 +08:00
郑树新
efeb4fdabb build for vc 2018-12-12 19:12:42 +08:00
zsx
077fcf399f building for all OS 2018-12-07 16:00:59 +08:00
zsx
c9d87eb368 delete unused files by xcode 2018-12-07 13:56:05 +08:00
zsx
d0d51ec6d1 build for macos 2018-12-07 13:50:42 +08:00
郑树新
ca7d64f263 vc2013 project for libfiber 2018-12-07 11:08:19 +08:00
zsx
35315809b9 add lost files to vc project 2018-12-06 22:07:24 +08:00
zsx
66a560e37f fixed bugs in client_wakeup of acl_threads_server.c;
acl::fiber_tbox and acl::fiber_cond are ok.
2018-12-06 15:50:13 +08:00
zsx
ecdb9df01f add ACL_FIBER_COND in fiber_cond.hpp 2018-12-01 12:04:36 +08:00
zsx
4db127ec9f optimize fiber_cond and fiber 2018-11-30 18:26:46 +08:00
zsx
04dd410821 add samples: thread_cond/thread_tbox 2018-11-30 18:26:25 +08:00
zsx
f75eebde9f add fiber_tbox.hpp 2018-11-30 17:20:45 +08:00
zsx
9445201f43 add lost file 2018-11-30 15:00:28 +08:00
zsx
fb271fd104 format to DOS style. 2018-11-30 14:38:22 +08:00
zsx
f570318eb6 modify fiber_cond 2018-11-30 14:36:15 +08:00
zsx
159a0e2760 add fiber_cond into libfiber 2018-11-30 14:35:58 +08:00
zsx
12c78277c8 add fiber_cond in cpp lib 2018-11-30 14:35:08 +08:00
zsx
8ed462ce69 replace assert with msg_fatal 2018-11-30 11:45:58 +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
4e5f45068e add one parameter for fiber_event class 2018-11-28 16:14:05 +08:00
zsx
877e7aa5d4 lib_fiber's changes.txt 2018-11-28 15:53:27 +08:00
zsx
2033c94414 add fiber_cond.c 2018-11-28 15:51:33 +08:00
zsx
9cd475d83f add fiber_cond.c 2018-11-28 15:51:22 +08:00
zsx
9b26998122 add fbase_event.c 2018-11-28 13:42:10 +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
feb5b87f59 add_write should return 0 or -1 2018-11-26 13:04:27 +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
zhengshuxin
f7af753d9e add one flag when creating fiber_event 2018-11-24 11:49:18 +08:00
zsxxsz
96fd5bf486 build ok for windows 2018-10-31 22:14:09 +08:00
zsx
127f6e0c33 acl_set_core_limit can only be used on UNIX-like OS. 2018-10-31 17:10:06 +08:00
zhengshuxin
fb376b2484 compatiable for lower cmake 2018-10-27 22:21:29 +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
35229c19b6 fixed one bug in getaddrinfo.c 2018-09-19 19:18:01 +08:00
郑树新
e6cead0a67 fixed one problem in getaddrinfo of lib_fiber; 2018-09-19 18:36:05 +08:00
zsx
f403d09da6 delete unused files. 2018-09-17 14:31:12 +08:00
zsx
4e393625c0 delete unused files. 2018-09-17 14:26:46 +08:00
zsx
f15c17ae29 build ok for Mac 2018-09-17 14:20:45 +08:00
zsx
f27af8b424 acl support IPV6 is OK now! 2018-09-16 21:49:58 +08:00
zsx
808023c5a2 change charset from utf-8 to gbk for some files merged. 2018-08-24 17:49:13 +08:00
郑树新
6772f92d9b !1 修复在 FreeBSD 8.x 上编译的一个错误
Merge pull request !1 from lsgx/fix-freebsd8-error
2018-08-24 17:40:43 +08:00
zsxxsz
c9e5e010a7 fixed compiling warning on VC 2018-08-19 23:11:36 +08:00
zsx
46f12d39ca using libfiber.h for C and libfiber.hpp for C++ 2018-08-19 23:03:39 +08:00
zsx
e4a342b5f4 merge from libfiber 2018-08-19 22:47:26 +08:00
zhengshuxin
e5b554930b some samples of fiber should be compiled by c++11 compiler. 2018-08-10 21:02:14 +08:00
zhengshuxin
820a5c0b61 building 2018-08-08 16:50:43 +08:00
zhengshuxin
ae7ce4ee23 compilie dns.c module of lib_fiber on low version gcc 2018-08-08 16:34:28 +08:00
郑树新
4141daf0f0
Merge pull request #122 from jiangzhuti/master
fix spelling mistake.
2018-08-08 11:57:36 +08:00
zsx
e8fad9062a fixed some compiling warning 2018-08-08 11:45:37 +08:00
Li Qiang
65f7adf0a4 fix spelling mistake. 2018-08-08 10:46:18 +08:00
Charlie Root
82708780d8 fixed one compiling error for freebsd8 by jjx 2018-07-01 22:09:12 +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
57d48b9870 fiber module can be built by xcode;
add diff module into acl_cpp xcode project;
2018-04-25 11:58:53 +08:00
郑树新
adc3b940af README.md of lib_fiber 2018-04-24 17:32:08 +08:00
郑树新
3ed9728c20 README.md of lib_fiber 2018-04-24 17:30:10 +08:00
郑树新
243a44ccd1 README.md of lib_fiber 2018-04-24 17:28:38 +08:00
zsx
cb1503a067 fiber lib can be used on MacOS 2018-04-24 14:38:48 +08:00
zsx
d64d78eb16 libfiber can be used on MacOS 2018-04-24 14:29:35 +08:00
zsx
4c1e1ae197 comile lib_fiber for MacOSX 2018-04-22 23:46:17 +08:00
zhengshuxin
7647c210b7 acl build without ACL_PREPARE_COMPILE defined 2018-04-17 16:42:26 +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
5090a5cdca gethostbyname should be fiber safety 2018-03-05 13:41:18 +08:00
郑树新
02ba7723e0 build ok on vc2013 2018-03-05 11:50:22 +08:00
zsx
902a76e55b build on windows 2018-03-05 11:11:55 +08:00
zsx
63f9ac04f8 merge from libfiber 2018-03-05 11:05:05 +08:00
zsxxsz
89b15923d6 add lost header 2018-02-10 15:09:25 +08:00
zsxxsz
06409bdae4 add winsock lib in event_iocp.c 2018-02-09 23:28:40 +08:00
zsx
4a7a8f830e no debug 2018-02-07 19:19:31 +08:00
zsx
4f70948a8d fiber on FreeBSD with kqueue is OK! 2018-02-06 19:24:28 +08:00
zhengshuxin
9ee53a8a5a fiber on FreeBSD with kqueue is OK! 2017-09-23 08:47:25 +08:00
zhengshuxin
4614c7e118 fiber event: fixed possible bug in events 2017-09-22 22:11:51 +08:00
zhengshuxin
7670fca314 compiling for FreeBSD ok 2017-09-22 19:22:26 +08:00
zsx
3c46adddb3 fiber_server: support setting schedule event type in configure. 2018-02-05 10:16:52 +08:00
zsxxsz
a0160d2ea1 fixed some compiling error on vc2012/2013. 2018-02-03 22:35:58 +08:00
zsxxsz
6d9add27bd bugfix in lib_acl: POLLHUP | POLLERR should not be set as input parameters. 2018-02-03 21:27:21 +08:00
郑树新
342f42c38a fiber: support winsock IOCP event. 2018-02-01 18:40:31 +08:00