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 |
|
郑树新
|
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 |
|
zsx
|
310d353114
|
remove valgrind debug by default in Makefile of fiber
|
2018-01-19 10:42:22 +08:00 |
|
zsxxsz
|
fe2ff8adb5
|
when new fiber can't be created on win32, just call msg_fatal
|
2018-01-18 23:10:34 +08:00 |
|
zsx
|
7af7f753fb
|
add one fiber sample
|
2018-01-18 16:07:20 +08:00 |
|
zsx
|
5391987156
|
fixed channel.cpp in fiber compiling error
|
2018-01-18 14:37:06 +08:00 |
|
zsx
|
602128784f
|
fiber sample: add http_request sample
|
2018-01-17 15:55:10 +08:00 |
|
郑树新
|
d819724c3b
|
fiber performance: improve the messages handling performance in Windows
|
2018-01-17 14:10:19 +08:00 |
|
郑树新
|
33447005ad
|
add changes.txt into vc project
|
2018-01-17 13:29:52 +08:00 |
|
zsxxsz
|
e3a50c370d
|
fiber io: incorrect used SET_READABLE
|
2018-01-16 23:46:42 +08:00 |
|
zsxxsz
|
a2b795a7fe
|
fiber_io fiber can be restarted.
|
2018-01-16 22:37:23 +08:00 |
|
郑树新
|
4afcac70a0
|
improve fiber IO performance when using timedwait read/write.
|
2018-01-16 18:24:13 +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 |
|
郑树新
|
0e12675b7b
|
WinEchod use UNICODE charset
|
2018-01-15 12:22:04 +08:00 |
|
郑树新
|
a19555d3c2
|
WinEchodDl's vc2013 project
|
2018-01-15 12:15:51 +08:00 |
|
郑树新
|
fd1cd5df2e
|
add vc2013 project for demo WinEchod of acl fiber.
|
2018-01-15 11:32:59 +08:00 |
|
zsx
|
bc845a5dcd
|
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 23:08:04 +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 |
|
zsxxsz
|
c2a2d1b579
|
building fiber lib and samples are all ok by vc2012 and vc2013
|
2018-01-13 23:24:45 +08:00 |
|
zsxxsz
|
a3870339ac
|
fiber compiliing on windows
|
2018-01-13 10:23:13 +08:00 |
|
zsx
|
8d5cf8ee23
|
fiber event optimise
|
2018-01-13 10:21:49 +08:00 |
|
zsxxsz
|
ebf0361142
|
fiber event optimize
|
2018-01-13 09:37:57 +08:00 |
|
zsx
|
f58d187421
|
compiling fiber on Linux
|
2018-01-12 22:29:21 +08:00 |
|
郑树新
|
bc24d1e75a
|
fiber based on win32 gui message
|
2018-01-12 19:15:08 +08:00 |
|
zsxxsz
|
d108b3750a
|
for win32 gui fiber
|
2018-01-12 00:28:30 +08:00 |
|
郑树新
|
5a45a0d886
|
win32 message fiber event
|
2018-01-11 19:13:31 +08:00 |
|
郑树新
|
4843851cbf
|
add FiberSleep class for demo
|
2018-01-11 18:30:06 +08:00 |
|
郑树新
|
e55a183e1e
|
WinEchod: rename class files' name;
win32 message is OK;
|
2018-01-11 14:19:09 +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 |
|
郑树新
|
038dcc9a43
|
add listener fiber and client fiber
|
2018-01-10 17:48:22 +08:00 |
|
郑树新
|
e64945edd7
|
win32 gui fiber sample
|
2018-01-09 19:02:10 +08:00 |
|
zsxxsz
|
c6c268a9f3
|
add demo
|
2018-01-09 00:05:28 +08:00 |
|
郑树新
|
2baa98a8fc
|
fixed one bug in bitmap.cpp when calling reset();
adding win32 gui message event for fiber
|
2018-01-08 15:21:57 +08:00 |
|
zsxxsz
|
a6dee23821
|
compiling fiber on vc
|
2018-01-07 23:43:05 +08:00 |
|
zsx
|
f505001cd7
|
compiling on Linux
|
2018-01-07 23:30:46 +08:00 |
|
zsxxsz
|
3543cdda46
|
prepare for win gui message fiber
|
2018-01-07 23:22:38 +08:00 |
|
zsxxsz
|
945fad8380
|
add htable into fiber
|
2018-01-07 23:21:50 +08:00 |
|
zsxxsz
|
78dc911358
|
add win32 gui message event for fiber
|
2018-01-07 23:21:14 +08:00 |
|
zsxxsz
|
3a5effa102
|
prepare for win msg event for windows
|
2018-01-07 14:40:15 +08:00 |
|
zsxxsz
|
2b9cdae22e
|
add sane_socket in fiber's common module.
|
2018-01-07 14:33:05 +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 |
|
郑树新
|
b71952895b
|
add event_poll into fiber's vc project
|
2018-01-03 14:04:38 +08:00 |
|
zsx
|
0abfa377f6
|
fiber event: poll API can be used for fiber's event engine
|
2018-01-03 14:01:22 +08:00 |
|
zsxxsz
|
4371535b8e
|
add lost vc project for fiber sample
|
2018-01-02 21:03:09 +08:00 |
|
zhengshuxin
|
88b9f98214
|
fiber compiling: fixed some warning on FreeBSD
|
2017-09-22 16:58:18 +08:00 |
|
zhengshuxin
|
c9e8e0f1d6
|
fixed one compiling error on FreeBSD
|
2016-01-14 13:14:36 +08:00 |
|
zsxxsz
|
ceadc40c6f
|
compiling error on freebsd
|
2018-01-01 22:57:20 +08:00 |
|
zsx
|
c4d9790d5f
|
fiber event: using select as event engine internal for unix/windows
|
2018-01-01 22:50:11 +08:00 |
|
zsxxsz
|
6051fe8bfe
|
fiber: add event_select
|
2018-01-01 21:08:27 +08:00 |
|
zsxxsz
|
c7fc99f2d8
|
fiber for windows can run:)
|
2018-01-01 00:10:00 +08:00 |
|
zsxxsz
|
be2603b720
|
fiber: compiling on vc2013 ok
|
2017-12-31 00:24:15 +08:00 |
|
zsx
|
aaf947d323
|
fiber: the new framework for Unix/Windows will be ready:)
|
2017-12-31 00:16:46 +08:00 |
|
zsx
|
b3504502b6
|
for Linux
|
2017-12-30 23:39:53 +08:00 |
|
zsxxsz
|
fcb36493b1
|
fiber: rewrite fiber's framework for imgrating to windows
|
2017-12-30 23:30:30 +08:00 |
|
zsx
|
7e16c01698
|
fixed one fiber's compilie error
|
2017-12-29 11:39:17 +08:00 |
|
zsx
|
ec1465f761
|
remove debug code in event_kqueue.c
|
2017-12-28 22:56:24 +08:00 |
|
zsx
|
05b485b6c4
|
fiber: add kqueue of FreeBSD, so acl fiber can support FreeBSD
|
2017-12-28 17:49:33 +08:00 |
|
zhengshuxin
|
06ce51b912
|
changes "\r\n" to "\n"
|
2017-09-22 12:27:21 +08:00 |
|
zhengshuxin
|
efae38a4bf
|
fiber: add kqueue event for FreeBSD
|
2017-09-22 12:26:55 +08:00 |
|
zhengshuxin
|
a418cba784
|
adding fiber's implement for freebsdd
|
2016-01-14 13:01:36 +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
|
0da73b81eb
|
fiber: epoll hook ok
|
2017-12-23 12:30:13 +08:00 |
|
zsx
|
92aa28a8a0
|
fiber: fixed one bug in event_prepare() of event.c when iterator the event operations
|
2017-12-22 22:41:23 +08:00 |
|
zhengshuxin
|
297d264825
|
fixed compiling warn on gcc4.1
|
2017-12-22 15:24:35 +08:00 |
|
zsx
|
99d14ba217
|
add lost files
|
2017-12-22 15:17:43 +08:00 |
|
zsx
|
f5ccd3a22c
|
fixed build fiber error by xmake
|
2017-12-21 22:51:00 +08:00 |
|
zsx
|
a94fd0299b
|
fiber's dns module can unloaded automaticly when process exiting
|
2017-12-21 22:23:07 +08:00 |
|
zsx
|
e1a32b11ad
|
add lost files in fiber
|
2017-12-21 21:40:17 +08:00 |
|
zsx
|
ce60c66bc7
|
diable valgrind for fiber's release
|
2017-12-21 18:56:41 +08:00 |
|
zsx
|
19d13adcf9
|
new fiber module will be ready:)
|
2017-12-21 18:55:50 +08:00 |
|
zsx
|
d6addafe44
|
add UNLIKELY for improving performance
|
2017-12-21 16:13:09 +08:00 |
|
zsx
|
ab44af95c6
|
fixed some event problems
|
2017-12-21 15:46:48 +08:00 |
|
zsx
|
d91221f939
|
add valgrind shell
|
2017-12-21 14:21:38 +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 |
|