Commit Graph

104 Commits

Author SHA1 Message Date
zsx
fb271fd104 format to DOS style. 2018-11-30 14:38:22 +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
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
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
郑树新
02ba7723e0 build ok on vc2013 2018-03-05 11:50:22 +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
zsx
3c46adddb3 fiber_server: support setting schedule event type in configure. 2018-02-05 10:16:52 +08:00
zsxxsz
2e38ce1365 fiber schedule process can be triggered automaticly. 2018-01-28 12:34:23 +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
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
f58d187421 compiling fiber on Linux 2018-01-12 22:29:21 +08:00
郑树新
5a45a0d886 win32 message fiber event 2018-01-11 19:13:31 +08:00
zsxxsz
63c9decbbd acl fiber can be used on win32 GUI messsage 2018-01-11 00:11:15 +08:00
zsxxsz
3543cdda46 prepare for win gui message fiber 2018-01-07 23:22:38 +08:00
zhengshuxin
88b9f98214 fiber compiling: fixed some warning on FreeBSD 2017-09-22 16:58:18 +08:00
zsx
c4d9790d5f fiber event: using select as event engine internal for unix/windows 2018-01-01 22:50:11 +08:00
zsxxsz
fcb36493b1 fiber: rewrite fiber's framework for imgrating to windows 2017-12-30 23:30:30 +08:00
zhengshuxin
06ce51b912 changes "\r\n" to "\n" 2017-09-22 12:27:21 +08:00
zsx
bb49d5c617 move some API from fiber's internal to outer for using easily 2017-12-24 21:53:11 +08:00
zsx
f1947a43d6 replace fiber module with the new libaray. 2017-12-20 23:30:33 +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
centos6.9-32
beb5b6ec98 fiber: add API can get/set system errno 2017-10-16 22:41:10 -07:00
zhengshuxin
7749e15bcc fiber: test 2017-10-12 18:59:50 +08:00
zhengshuxin
c9f0a6b92e add fiber timer for C++ module 2017-08-25 13:34:48 +08:00
zhengshuxin
77f46902cd modify lib_fiber.h 2017-07-27 17:43:34 +08:00
zhengshuxin
e88320a6df modify header of fiber library. 2017-07-26 19:09:48 +08:00
zhengshuxin
93b3250ca5 add methods that get configure path 2017-07-22 21:32:21 +08:00
zhengshuxin
88d6f6c44f all server templates support SIGHUP callback. 2017-07-04 23:33:28 +08:00
zhengshuxin
29f3ef3b73 supporting for IPV6 2017-04-11 23:14:39 +08:00
zhengshuxin
5e1bd3c5d9 migrating acl to android;
modify fiber id to unsigned int.
2017-01-23 16:59:58 +08:00
zhengshuxin
cfd3cd98ee fixed bugs in fiber module. 2017-01-12 20:09:06 +08:00
zhengshuxin
03d36523e0 add acl_fiber_signal in lib_fiber. 2016-12-31 13:52:34 +08:00
zhengshuxin
06fa2499fa fixed bugs in lib_fiber; add features in http module. 2016-12-29 23:58:18 +08:00
zhengshuxin
19f2c0b0d2 fiber lock can be killed. 2016-12-08 13:13:30 +08:00
zhengshuxin
1b6d166ef6 add acl_fiber_kill for fiber lib;
add listen callback for master template.
2016-12-03 20:09:21 +08:00
ubuntu14
bcb2f1b85c fixed one bug in fiber.c for memory leak
add some samples for lib_liber
2016-11-27 21:03:24 +08:00
zhengshuxin
535494a264 fixed one bug in json class; add fiber_chat for chatting application. 2016-10-07 20:01:57 +08:00
zhengshuxin
4f15d51138 add fiber chat sample. 2016-09-28 16:05:55 +08:00
zhengshuxin
522ab347e6 changed functions' name in lib_fiber 2016-09-22 22:50:45 +08:00
zhengshuxin
11e451f5ba acl 3.2.0 released! 2016-08-27 18:34:02 +08:00
ubuntu14
271fc96cdf add master web monitor by master_fiber mode; arrange codes; add methods to json module; 2016-07-29 16:43:46 +08:00
ubuntu14
8ef7853f19 add semaphore for lib_fiber 2016-07-09 21:58:21 +08:00
ubuntu14
76f3b9fc04 add acl prefix for eash function and struct in lib_fiber 2016-07-05 15:19:05 +08:00
ubuntu14
5cf6d7ba0f make lib_fiber more available! 2016-06-30 22:20:30 +08:00
ubuntu14
2d14abfec4 rename fiber_schedule.c to fiber.c 2016-06-25 16:05:48 +08:00
ubuntu14
1d6b02b579 lib_fiber more available now! 2016-06-24 10:39:05 +08:00