Commit Graph

309 Commits

Author SHA1 Message Date
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
郑树新
a16c4122d0 fiber: adding iocp event 2018-01-31 19:16:23 +08:00
郑树新
2af5a9307f fiber: adding iocp event 2018-01-31 19:01:04 +08:00
zsx
ed330843d7 fiber.cpp: closesocket is for winsock 2018-01-31 12:00:56 +08:00
郑树新
2e5a3ab9fd fiber: adding iocp event 2018-01-31 11:55:16 +08:00
zsxxsz
580fdc4f72 fiber event: adding iocp for winsock 2018-01-30 23:45:34 +08:00
郑树新
fa7a71f2fb fiber: add iocp event 2018-01-30 19:57:51 +08:00
郑树新
08f229f494 fiber: add iocp event for windows 2018-01-30 19:57:30 +08:00
zsx
7329f830e9 server_socket supports SO_REUSEPORT on Linux3.x 2018-01-29 23:33:49 +08:00
zsx
a6f74434c6 fiber sample server2: testing schedule automticaly 2018-01-28 17:11:57 +08:00
zsxxsz
2e38ce1365 fiber schedule process can be triggered automaticly. 2018-01-28 12:34:23 +08:00
zsx
3e998cb37a compiline error 2018-01-23 19:51:42 +08:00
zsx
21119f88a0 master_guard: add all info for version 2018-01-23 19:48:45 +08:00
zsx
d384dce04e master_guard: add all info for version 2018-01-23 19:46:45 +08:00
zsx
dbc586c33b fiber_server: master_debug configure item should be used other than fiber_log_debug 2018-01-23 16:55:03 +08:00
zsx
52ac1f747b acl_fiber_schedule_stop needn't be called when all IO fibers were finished. 2018-01-22 23:46:58 +08:00
zsxxsz
5fcd7a20c3 select/WSAPoll of Windows disable non SOCKETS been set. 2018-01-22 23:45:00 +08:00
zsxxsz
66c05c16cb fiber for windows: client2 and server2 run very well:) 2018-01-22 22:01:12 +08:00
郑树新
49a92e9348 fiber io can also stop automaticly when no IO and no timers been set. 2018-01-22 18:38:50 +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
588c871124 fiber client2 sample can run on Windows. 2018-01-21 15:41:19 +08:00
zsxxsz
de8be9ca0f fiber's event_poll.c can handle POLLERR | POLLHUP | POLLNVAL 2018-01-21 11:40:34 +08:00
zsxxsz
3b2d58ed59 fiber server2 can run on windows. 2018-01-21 11:39:19 +08:00
zsxxsz
400904dccf add error handling in acl_vstream.c & poll.c when operation timeout;
in fiber_win.c when calling CreateFiberEx, using size as the parameter
dwStackReserveSize;
2018-01-20 21:57:39 +08:00
zsx
e799a55b9f fiber sample: server5 2018-01-19 19:22:06 +08:00