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
|
46f12d39ca
|
using libfiber.h for C and libfiber.hpp for C++
|
2018-08-19 23:03:39 +08:00 |
|
zhengshuxin
|
e5b554930b
|
some samples of fiber should be compiled by c++11 compiler.
|
2018-08-10 21:02:14 +08:00 |
|
zsx
|
d64d78eb16
|
libfiber can be used on MacOS
|
2018-04-24 14:29:35 +08:00 |
|
zhengshuxin
|
7647c210b7
|
acl build without ACL_PREPARE_COMPILE defined
|
2018-04-17 16:42:26 +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 |
|
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 |
|
郑树新
|
342f42c38a
|
fiber: support winsock IOCP event.
|
2018-02-01 18:40:31 +08:00 |
|
郑树新
|
2af5a9307f
|
fiber: adding iocp event
|
2018-01-31 19:01:04 +08:00 |
|
zsxxsz
|
580fdc4f72
|
fiber event: adding iocp for winsock
|
2018-01-30 23:45:34 +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
|
52ac1f747b
|
acl_fiber_schedule_stop needn't be called when all IO fibers were finished.
|
2018-01-22 23:46:58 +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
|
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
|
7af7f753fb
|
add one fiber sample
|
2018-01-18 16:07:20 +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 |
|
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 |
|
郑树新
|
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 |
|
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
|
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 |
|
zsxxsz
|
4371535b8e
|
add lost vc project for fiber sample
|
2018-01-02 21:03:09 +08:00 |
|
zsx
|
c4d9790d5f
|
fiber event: using select as event engine internal for unix/windows
|
2018-01-01 22:50:11 +08:00 |
|
zsxxsz
|
c7fc99f2d8
|
fiber for windows can run:)
|
2018-01-01 00:10:00 +08:00 |
|
zhengshuxin
|
06ce51b912
|
changes "\r\n" to "\n"
|
2017-09-22 12:27:21 +08:00 |
|
zsx
|
0da73b81eb
|
fiber: epoll hook ok
|
2017-12-23 12:30:13 +08:00 |
|
zsx
|
19d13adcf9
|
new fiber module will be ready:)
|
2017-12-21 18:55:50 +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 |
|
zsx
|
2b5dcb00e7
|
add valgrind shell
|
2017-12-21 10:25:09 +08:00 |
|
zsx
|
2ab420dea0
|
add valgrind shell
|
2017-12-21 09:43:39 +08:00 |
|
zsx
|
7572f0b18f
|
fiber dns will be ok
|
2017-12-20 23:01:58 +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
|
14d4eb2239
|
new fiber framework will be ready
|
2017-12-18 23:49:47 +08:00 |
|
zsx
|
f65d447815
|
new event for fiber
|
2017-12-18 16:57:57 +08:00 |
|
zsx
|
4b28397af4
|
fiber event: add new event for fiber
|
2017-12-17 23:47:39 +08:00 |
|
zsx
|
fe754e6f42
|
fiber samples/thread_mbox: test multithreads writers
|
2017-12-15 10:58:46 +08:00 |
|
zsx
|
f0c52f92f1
|
acl_mbox supports eventfd as notify handle
|
2017-12-12 14:02:25 +08:00 |
|
zsx
|
1b164db078
|
ssl: polarssl_conf's init should not in constructor
|
2017-12-07 16:24:21 +08:00 |
|
ubuntu14
|
42c1eb8b2d
|
polarssl_conf: fixed one bug when loading polarssl library
|
2017-12-03 14:54:47 +08:00 |
|
zsx
|
71289ca92f
|
fiber_event is ok
|
2017-11-24 15:24:17 +08:00 |
|
zsx
|
2f81af614b
|
samples: fiber_event's sample changed.
|
2017-11-24 11:40:01 +08:00 |
|
zsx
|
450d06a66c
|
fier: add acl_fiber_event_trywait
|
2017-11-24 11:10:44 +08:00 |
|
zsx
|
acac0ad2f8
|
fiber_lock: use the new fiber event lock with high performance.
|
2017-11-23 12:59:24 +08:00 |
|
zhengshuxin
|
7749e15bcc
|
fiber: test
|
2017-10-12 18:59:50 +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
|
b998731976
|
building: modify Makefiles to build more quickly on multi-cores CPU
|
2017-10-10 10:19:59 +08:00 |
|
zhengshuxin
|
e8219034c3
|
sql in db.sql is error
|
2017-10-08 22:29:03 +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
|
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
|
c2b85d8c87
|
delete tmp file
|
2017-10-01 14:03:37 +08:00 |
|
zhengshuxin
|
3d71e10668
|
fiber: fiber_lock can trigger immediately with IO event
|
2017-10-01 13:54:57 +08:00 |
|
zhengshuxin
|
4887620f18
|
fiber samples: add thread_lock for testing acl::fiber_lock in threads+fiber mode.
|
2017-10-01 13:54:18 +08:00 |
|
zhengshuxin
|
dbfa9e8c10
|
lib_fiber: hook_io.c supports hooking stat/fstat/lstat
|
2017-09-23 00:27:26 +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
|
e04cf8ec1b
|
build ok for FreeBSD
|
2017-09-11 11:59:39 +08:00 |
|
zhengshuxin
|
89c74a1e7c
|
delete unused codes
|
2017-09-02 21:02:37 +08:00 |
|
zhengshuxin
|
c76d603428
|
remove unused code.
|
2017-09-02 20:55:48 +08:00 |
|
zhengshuxin
|
2af766fb6e
|
make acl::mbox generic with c++ template method.
|
2017-09-01 23:14:20 +08:00 |
|
zhengshuxin
|
5291cd0c7a
|
test only
|
2017-09-01 18:59:42 +08:00 |
|
zhengshuxin
|
c9f0a6b92e
|
add fiber timer for C++ module
|
2017-08-25 13:34:48 +08:00 |
|
zhengshuxin
|
1758f39c30
|
icmp module can support client and server modes.
|
2017-08-18 18:11:11 +08:00 |
|
zhengshuxin
|
894350e1df
|
modify icmp module for ping
|
2017-08-18 10:05:11 +08:00 |
|
zhengshuxin
|
a96eca4956
|
icmp ping ok.
|
2017-08-17 19:07:55 +08:00 |
|
zhengshuxin
|
50cec66b5a
|
modify ping sample for lib_fiber
|
2017-08-16 10:50:37 +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
|
4e0d42e9fc
|
tcp_client sample can read response from tcp_server with parameter -r
|
2017-08-12 20:11:17 +08:00 |
|
zhengshuxin
|
2728b4f14f
|
add fiber test for tcp_ipc
|
2017-08-09 22:39:39 +08:00 |
|
zhengshuxin
|
dcaec58d47
|
add sample tcp_server & tcp_client in lib_fiber.
|
2017-08-09 16:04:54 +08:00 |
|
zhengshuxin
|
16040c02e7
|
fixed one compiling error.
|
2017-08-09 11:53:00 +08:00 |
|
zhengshuxin
|
1cc6196861
|
__end is reserved in g++4.8.x's header
|
2017-08-09 11:41:47 +08:00 |
|
zhengshuxin
|
024eab9a4a
|
check g++'s version automally for supporting c++11
|
2017-08-09 11:25:10 +08:00 |
|
zhengshuxin
|
cedd5b0c18
|
all ssl samples can load libpolarssl.so dynamic.
|
2017-08-04 22:37:00 +08:00 |
|
zhengshuxin
|
fbf37b7237
|
remove master_base.hpp from master_fiber.hpp;
remove lib_acl.h from lib_fiber.h;
|
2017-07-27 18:16:39 +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 |
|
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
|
14fb7b5f36
|
add postgresql client example.
|
2017-05-01 11:51:04 +08:00 |
|
zhengshuxin
|
41b89b7aaa
|
hook getaddrinfo in acl fiber
|
2017-04-13 21:50:55 +08:00 |
|
zhengshuxin
|
b73d188e30
|
support IPV6.
|
2017-04-07 20:13:08 +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
|
e008172dea
|
modify fiber_server2 sample for test.
|
2017-02-12 21:54:24 +08:00 |
|
zhengshuxin
|
09e4b0d381
|
migrate to Android platform OK!
|
2017-02-12 21:39:38 +08:00 |
|
zhengshuxin
|
095eea39b7
|
change acl's license to LGPL.v3;
add some fiber samples.
|
2017-01-13 22:37:21 +08:00 |
|
zhengshuxin
|
cfd3cd98ee
|
fixed bugs in fiber module.
|
2017-01-12 20:09:06 +08:00 |
|
zhengshuxin
|
7e13962ebf
|
delete unused files.
|
2017-01-04 16:24:17 +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
|
c98290445b
|
add fiber test examples.
|
2016-10-30 21:24:51 +08:00 |
|
zhengshuxin
|
f69eb3dedb
|
fixed one bug for charset setting in db_pool
|
2016-10-24 11:44:12 +08:00 |
|
zhengshuxin
|
f30b2b4144
|
add some websocket samples(upload_server/upload_client); fixed some bugs in acl;
|
2016-10-21 15:02:50 +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
|
6852d39ed2
|
fixed one bug in acl_urlcode.c, add c++11 in fiber, and add sha1
|
2016-09-01 20:00:58 +08:00 |
|
zhengshuxin
|
6897e3dc54
|
fixed bugs in json module.
|
2016-08-23 13:20:33 +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
|
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
|
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
|
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 |
|
ubuntu14
|
1d6b02b579
|
lib_fiber more available now!
|
2016-06-24 10:39:05 +08:00 |
|
ubuntu14
|
f9ff6f0a73
|
fixed some bugs in lib_fiber; add master_fiber for master framework
|
2016-06-23 13:34:54 +08:00 |
|
ubuntu14
|
0ec7e951eb
|
improvement the lib_fiber's performance
|
2016-06-11 23:18:06 +08:00 |
|
ubuntu14
|
92b0dc124e
|
add lib_fiber
|
2016-05-30 14:09:38 +08:00 |
|