郑树新
|
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 |
|
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
|
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 |
|
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 |
|
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
|
bb49d5c617
|
move some API from fiber's internal to outer for using easily
|
2017-12-24 21:53:11 +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
|
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
|
64b6a0eb6d
|
fiber_server.cpp should open REUSEPORT flag when runing alone with multi-threads
|
2017-12-21 11:23:58 +08:00 |
|
zsx
|
f1947a43d6
|
replace fiber module with the new libaray.
|
2017-12-20 23:30:33 +08:00 |
|
zsx
|
9638c50179
|
fiber: fixed one urgent bug in hook_net.c for hooking poll API
|
2017-12-19 18:56:47 +08:00 |
|
zsx
|
f65d447815
|
new event for fiber
|
2017-12-18 16:57:57 +08:00 |
|
zsx
|
1b164db078
|
ssl: polarssl_conf's init should not in constructor
|
2017-12-07 16:24:21 +08:00 |
|
zsx
|
95d67507d5
|
fiber's compile: fixed one warning when USE_JMP not be defined.
|
2017-11-30 10:59:25 +08:00 |
|
ruki
|
987385ea6e
|
add xmake.lua
|
2017-11-30 10:04:15 +08:00 |
|
zsx
|
bc2d7c81c8
|
fiber: eventfd should be ignored on kernel below 2.6.22.
|
2017-11-24 15:53:43 +08:00 |
|
zsx
|
71289ca92f
|
fiber_event is ok
|
2017-11-24 15:24:17 +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 |
|
zsx
|
1d35005fca
|
fiber: add fiber_lock_r which can use in threads + fibers
|
2017-11-23 00:35:51 +08:00 |
|
zhengshuxin
|
b92f241603
|
fiber_server: not notify master in non-daemon mode
|
2017-11-13 21:45:59 +08:00 |
|
zhengshuxin
|
bf5252dd65
|
fiber: fixed one compiling error on centos5.x
|
2017-11-09 19:07:41 +08:00 |
|
zhengshuxin
|
c9267f4d93
|
master template: remove unused args
|
2017-11-07 17:08:54 +08:00 |
|
zhengshuxin
|
76889c5b35
|
master: supporting start service with absolute path
|
2017-11-07 11:54:12 +08:00 |
|
zhengshuxin
|
652b567c9e
|
fiber: add signal handling, fixed one bug that 32 integer overflow
|
2017-11-02 11:09:24 +08:00 |
|
zhengshuxin
|
231c7b0e4c
|
fiber: pread/pwrite were hooked
|
2017-10-29 11:04:21 +08:00 |
|
zhengshuxin
|
7e1c8226a5
|
fiber: add safety checking in fiber lock
|
2017-10-27 20:27:50 +08:00 |
|
zhengshuxin
|
7b4023940f
|
fiber: fixed one bug that signed int maybe overflow.
|
2017-10-27 13:50:11 +08:00 |
|
zhengshuxin
|
db886f9d62
|
master: all server template support waiting the service starting status
|
2017-10-27 11:38:10 +08:00 |
|
zhengshuxin
|
66992ee4e5
|
fiber: sendfile/sendfile64 has been hooked
|
2017-10-20 10:27:25 +08:00 |
|
zhengshuxin
|
4235dcd1d9
|
fiber: EVENT's members poll_list & epoll_list can use FIFO or STACK, other than RING
|
2017-10-20 10:19:34 +08:00 |
|
centos6.9-32
|
beb5b6ec98
|
fiber: add API can get/set system errno
|
2017-10-16 22:41:10 -07:00 |
|
zhengshuxin
|
d83875cfc4
|
fiber: hook sendfile API
|
2017-10-16 18:24:52 +08:00 |
|
zhengshuxin
|
7749e15bcc
|
fiber: test
|
2017-10-12 18:59:50 +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
|
b998731976
|
building: modify Makefiles to build more quickly on multi-cores CPU
|
2017-10-10 10:19:59 +08:00 |
|
zhengshuxin
|
1050d4e45f
|
event_mutex: add event_mutex sample in fiber mode; testing event_mutex ok in threads & fibers running modes.
|
2017-10-08 00:06:12 +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
|
83724d3e8a
|
valgrind: free global objects when process exiting to avoid valgrind reporting error.
|
2017-09-28 12:29:20 +08:00 |
|
zhengshuxin
|
54cc65db8d
|
fiber: free static or global dynamic object when process exiting.
|
2017-09-27 19:26:08 +08:00 |
|
zhengshuxin
|
17824b3d98
|
fiber: support hooking mkdir API
|
2017-09-23 19:51:03 +08:00 |
|
zhengshuxin
|
dbfa9e8c10
|
lib_fiber: hook_io.c supports hooking stat/fstat/lstat
|
2017-09-23 00:27:26 +08:00 |
|
zhengshuxin
|
e71afae8a2
|
fiber: hook_net.c supports epoll_create1 API
|
2017-09-20 17:45:27 +08:00 |
|
zhengshuxin
|
892e102435
|
EVENT: tring to check fd's type by add call ev->add
|
2017-09-20 16:59:12 +08:00 |
|
zhengshuxin
|
101ad0e6e1
|
fiber server template can tell master its status after reloading
|
2017-09-10 17:16:06 +08:00 |
|
zhengshuxin
|
1a36ede275
|
fiber_server.c supports setuping SIGTERM;
|
2017-09-06 15:46:39 +08:00 |
|
zhengshuxin
|
c9f0a6b92e
|
add fiber timer for C++ module
|
2017-08-25 13:34:48 +08:00 |
|
zhengshuxin
|
2016e3b46a
|
fiber_server.c can support reuseport when running alonely.
|
2017-08-21 17:39:48 +08:00 |
|
zhengshuxin
|
be7629ced2
|
add acl_read_xxx_wait with milliseconds;
icmp ping supports timeout and delay with milliseconds;
|
2017-08-15 12:17:57 +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 |
|
郑树新
|
2b38278ca9
|
change STACK_SIZE from 64K to 128K;
let acl_var_fiber_stack_size can control fiber_sleep's stack size in lib_fiber/c/src/master/fiber_server.c
|
2017-07-07 10:24:38 +08:00 |
|
Zheng Shuxin
|
1721ed61cb
|
modify old fiber_server.c.bak
|
2017-07-05 16:36:22 +08:00 |
|
zhengshuxin
|
99660d0734
|
add proc_on_bind in master_udp class
|
2017-07-05 14:31:18 +08:00 |
|
zhengshuxin
|
98d11361bb
|
test sighup callback ok for all server template.
|
2017-07-05 10:27:33 +08:00 |
|
zhengshuxin
|
88d6f6c44f
|
all server templates support SIGHUP callback.
|
2017-07-04 23:33:28 +08:00 |
|
zhengshuxin
|
128df49e08
|
fixed bugs in acl_atomic.c
|
2017-07-03 17:42:55 +08:00 |
|
root
|
da5edbcb58
|
master fiber server's template can run in multi-threads model.
|
2017-07-03 16:40:31 +08:00 |
|
Zheng Shuxin
|
d52e8c5113
|
modify lib_fiber module
|
2017-07-03 16:00:05 +08:00 |
|
zhengshuxin
|
d6385832d6
|
add ACL_ATOMIC_CLOCK object for statics of running status
|
2017-07-03 14:40:06 +08:00 |
|
zhengshuxin
|
23080968f0
|
fiber_server.c supports running in multi-threads mode.
|
2017-07-02 23:10:17 +08:00 |
|
ubuntu14
|
85f1db0b38
|
acl_udp_sever.c can bind addrs matching some pattern
|
2017-06-20 14:07:45 +08:00 |
|
zhengshuxin
|
7f684658da
|
modify fiber module's header included.
|
2017-06-13 12:14:28 +08:00 |
|
zhengshuxin
|
93619189f5
|
fixed compile error
|
2017-06-06 09:56:54 +08:00 |
|
ubuntu14
|
0a19476092
|
In acl_fiber_server.c, the init procedure was called in the main thread which weren't be limited by the fiber's stack size.
|
2017-06-06 09:26:14 +08:00 |
|
zhengshuxin
|
dfeef3a6bf
|
fiber service can exit until all the clients are closed, specified by configure.
|
2017-05-16 23:22:07 +08:00 |
|
zhengshuxin
|
b310f3d6cc
|
fixed one bug in acl_fiber_sef_specific.
|
2017-04-24 22:49:42 +08:00 |
|
zhengshuxin
|
9e7ad2af39
|
make fiber module more safety
|
2017-04-14 21:04:33 +08:00 |
|
zhengshuxin
|
41b89b7aaa
|
hook getaddrinfo in acl fiber
|
2017-04-13 21:50:55 +08:00 |
|
zhengshuxin
|
29f3ef3b73
|
supporting for IPV6
|
2017-04-11 23:14:39 +08:00 |
|
zhengshuxin
|
b73d188e30
|
support IPV6.
|
2017-04-07 20:13:08 +08:00 |
|
zhengshuxin
|
d167d8f85d
|
fixed fiber's errors;
add feature in some modules.
|
2017-03-31 23:04:16 +08:00 |
|
zhengshuxin
|
57f8afc403
|
modify acl Makefiles to renaming lib names.
|
2017-03-25 23:05:44 +08:00 |
|
zhengshuxin
|
3cd0864746
|
supporting ios and can be compiled by xcode.
|
2017-03-12 14:49:48 +08:00 |
|
zhengshuxin
|
e5f7aa1b54
|
compile acl on MSYS.
|
2017-02-21 22:35:31 +08:00 |
|
zhengshuxin
|
09e4b0d381
|
migrate to Android platform OK!
|
2017-02-12 21:39:38 +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
|
627ec25f93
|
fixe one bug of acl_fiber_killed() in fiber.c.
|
2017-01-05 14:31:41 +08:00 |
|
zhengshuxin
|
ac05579106
|
fixed compiling error on gcc3.4.6
|
2017-01-04 14:25:40 +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
|
2c3b988fcf
|
hook bind/listen in lib_fiber
|
2016-11-18 22:24:41 +08:00 |
|
zhengshuxin
|
b91d15cfed
|
add LONGJMP/SETJMP in asm language.
|
2016-10-31 14:04:43 +08:00 |
|
zhengshuxin
|
7022d29557
|
fixed one bug in fiber_io.c for init __thread_fiber->loop_fn.
|
2016-10-19 15:06:09 +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 |
|
zhengshuxin
|
22c304ff65
|
fixed one compiling error when use VALGRIND.
|
2016-08-20 21:15:56 +08:00 |
|
ubuntu14
|
8c3a44218a
|
fixed some compiling warning.
|
2016-08-19 22:31:05 +08:00 |
|
ubuntu14
|
67be4da77b
|
modify accept to be non-blocking mode when been built with FAST_ACCEPT macro.
|
2016-08-17 22:20:44 +08:00 |
|
ubuntu14
|
866c3794b3
|
delete unused experiment codes
|
2016-08-17 20:29:49 +08:00 |
|
ubuntu14
|
7b9125bf6c
|
speed up for accepting client connection.
|
2016-08-17 20:22:50 +08:00 |
|
ubuntu14
|
bff9069d59
|
decrease rss memory using
|
2016-08-17 15:17:07 +08:00 |
|
ubuntu14
|
0c54b8c0d5
|
fixed one bug in events_enable_read of events_epoll_thr.c; add some samples for lib_fiber;
|
2016-08-11 13:36:20 +08:00 |
|
ubuntu14
|
3c8dc7b019
|
add one ping sample which can ping any host in fiber mode
|
2016-08-05 23:21:51 +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
|
fd3a26fc0e
|
fixed one bug in hook_io.c
|
2016-07-25 23:50:36 +08:00 |
|
ubuntu14
|
c4769e5127
|
delete unused fiber object in cache; fixed one bug in one sample
|
2016-07-24 21:27:15 +08:00 |
|
ubuntu14
|
841f92d0a2
|
improve the fiber's performance
|
2016-07-22 16:54:38 +08:00 |
|
ubuntu14
|
e0d5a3b0c2
|
speed up event loop internal
|
2016-07-20 22:14:17 +08:00 |
|
ubuntu14
|
1a22bba2ce
|
fixed one bug in event operation for lib_fiber
|
2016-07-20 21:09:46 +08:00 |
|
ubuntu14
|
65300d79a9
|
automatic start fiber when calling acl_fiber_schedule
|
2016-07-18 22:07:31 +08:00 |
|
ubuntu14
|
36585efdf6
|
epoll has been hooked now
|
2016-07-15 21:04:01 +08:00 |
|
ubuntu14
|
1db0998bad
|
fixed compiling warning by gcc6.1
|
2016-07-10 19:12:54 +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
|
2e5724cbeb
|
add acl_mbox.c for thread communication
|
2016-06-26 12:17:17 +08:00 |
|