Commit Graph

79 Commits

Author SHA1 Message Date
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
zsx
ed330843d7 fiber.cpp: closesocket is for winsock 2018-01-31 12:00:56 +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
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
5391987156 fixed channel.cpp in fiber compiling error 2018-01-18 14:37:06 +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
c2a2d1b579 building fiber lib and samples are all ok by vc2012 and vc2013 2018-01-13 23:24:45 +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
3543cdda46 prepare for win gui message fiber 2018-01-07 23:22:38 +08:00
zsxxsz
7fced0b33a some charset warning on vc 2018-01-06 23:18:40 +08:00
zsxxsz
45999c8bba fiber project: add vc2012 and vc2013 projects 2018-01-06 23:18:04 +08:00
zhengshuxin
06ce51b912 changes "\r\n" to "\n" 2017-09-22 12:27:21 +08:00
zsx
068f885d8f fiber's Makefile should mkdir debug automaticlly 2017-12-25 10:29:30 +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
c8fe74f03e fiber: fixed compiling error with cmake 2017-12-23 20:54:08 +08:00
zsx
f5ccd3a22c fixed build fiber error by xmake 2017-12-21 22:51:00 +08:00
zsx
e1a32b11ad add lost files in fiber 2017-12-21 21:40:17 +08:00
zsx
64b6a0eb6d fiber_server.cpp should open REUSEPORT flag when runing alone with multi-threads 2017-12-21 11:23:58 +08:00
zsx
124ebc564c build fiber cpp lib 2017-12-20 23:33:12 +08:00
zsx
f1947a43d6 replace fiber module with the new libaray. 2017-12-20 23:30:33 +08:00
zsx
f8c5ac970b rename fiber_server.c to fiber_server.cpp and put it into cpp's path 2017-12-20 23:28:17 +08:00
ruki
987385ea6e add xmake.lua 2017-11-30 10:04:15 +08:00
zsx
2f81af614b samples: fiber_event's sample changed. 2017-11-24 11:40:01 +08:00
zsx
8fca8bc485 fiber_event: delete unused codes. 2017-11-24 11:27:05 +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
zhengshuxin
76889c5b35 master: supporting start service with absolute path 2017-11-07 11:54:12 +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
580c4023d1 fiber_lock: disable EVENT notify 2017-10-13 10:32:50 +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
57e4c8663d thread_lock: fixed bug 2017-10-10 14:05:57 +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
cd5b074aa5 fiber_lock: in_ and out_ should be set to -1 if thread_safe is false 2017-10-09 15:28:16 +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
4a64289643 test event_mutex & fiber_lock 2017-10-08 12:07:17 +08:00
zhengshuxin
ae17076f4a fiber_lock: add logger info when eventfd error 2017-10-01 21:34:24 +08:00
zhengshuxin
3d71e10668 fiber: fiber_lock can trigger immediately with IO event 2017-10-01 13:54:57 +08:00
zhengshuxin
ffd5e43647 fiber_mutex: when blocked by thread mutex, the current fiber will be swapout 2017-09-29 23:15:42 +08:00
zhengshuxin
eb913000c1 fiber_mutex: auto check fiber::scheduled() 2017-09-29 17:55:46 +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
31fc50166c add trigger.hpp into all vc's projects;
add trigger sample for fiber trigger;
2017-09-18 22:28:52 +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