Commit Graph

77 Commits

Author SHA1 Message Date
shuxin   zheng
83ba45c98a optimize go fiber api for c++11 2020-06-13 14:33:08 +08:00
shuxin   zheng
ff74ac0377 optimize mem checker module 2020-06-13 10:54:34 +08:00
zhengshuxin
9697f95b8f Revert "All source code have been changed to use utf8 charset with BOM header!"
This reverts commit 15d999759e.
2019-07-28 10:31:56 +08:00
zsxxsz
15d999759e All source code have been changed to use utf8 charset with BOM header! 2019-07-27 22:44:32 +08:00
zhengshuxin
8b77b0456a safety & feature: add nocopyable limit for many class to avoid potential problem 2019-05-09 13:57:51 +08:00
zhengshuxin
4760ac19c9 tcp_keeper: add sync parameter to control if connect the given addr directly 2019-04-30 17:54:08 +08:00
zsx
db2d293a3e tcp_keeper is ok! 2019-01-15 11:57:19 +08:00
郑树新
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
zhengshuxin
2081b206c2 set free_obj's default value to true 2019-01-02 11:25:17 +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
ea8462f1ef add tcp_keeper class for tcp connections keepalive 2018-12-28 21:46:01 +08:00
zsx
0004373bcd fixed bugs of acl_fiber_cond_timedwait in acl_fiber_cond.c 2018-12-25 11:32:42 +08:00
郑树新
efeb4fdabb build for vc 2018-12-12 19:12:42 +08:00
zsx
d0d51ec6d1 build for macos 2018-12-07 13:50:42 +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
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
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
2d0cd3ed91 acl::fiber_event using FIBER_FLAG_USE_MUTEX as default 2018-11-26 09:53:32 +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
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
3c46adddb3 fiber_server: support setting schedule event type in configure. 2018-02-05 10:16:52 +08:00
zsxxsz
580fdc4f72 fiber event: adding iocp for winsock 2018-01-30 23:45:34 +08:00
zsxxsz
2e38ce1365 fiber schedule process can be triggered automaticly. 2018-01-28 12:34:23 +08:00
郑树新
0244606e67 remove FIBER_API in channel.hpp for compiling with no error on Windows & Unix 2018-01-16 14:28:42 +08:00
zsxxsz
63c9decbbd acl fiber can be used on win32 GUI messsage 2018-01-11 00:11:15 +08:00
郑树新
7f35e9236f acl fiber can now support win32 gui message engine 2018-01-10 17:48:45 +08:00
zsxxsz
7fced0b33a some charset warning on vc 2018-01-06 23:18:40 +08:00
zhengshuxin
06ce51b912 changes "\r\n" to "\n" 2017-09-22 12:27:21 +08:00
zsx
3a290a2718 fiber lock: add comments 2017-11-24 11:25:05 +08:00
zsx
450d06a66c fier: add acl_fiber_event_trywait 2017-11-24 11:10:44 +08:00
zsx
0ee5df1899 fiber: add fiber_event for synchronize between threads and fibers 2017-11-24 10:39:53 +08:00
zsx
acac0ad2f8 fiber_lock: use the new fiber event lock with high performance. 2017-11-23 12:59:24 +08:00
centos6.9-32
beb5b6ec98 fiber: add API can get/set system errno 2017-10-16 22:41:10 -07:00
zhengshuxin
1d5d556bfd fiber_lock: use thread muext as default 2017-10-14 23:18:15 +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
9970075fa1 fiber_mutex: fixed one bug when thread_safe parameter is set true 2017-10-10 11:47:35 +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
3d71e10668 fiber: fiber_lock can trigger immediately with IO event 2017-10-01 13:54:57 +08:00