Commit Graph

84 Commits

Author SHA1 Message Date
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
14fb7b5f36 add postgresql client example. 2017-05-01 11:51:04 +08:00
zhengshuxin
b310f3d6cc fixed one bug in acl_fiber_sef_specific. 2017-04-24 22:49:42 +08:00
zhengshuxin
0d0bfa47e7 acl_3.3.0 released! 2017-04-22 19:39:13 +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
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
5e1bd3c5d9 migrating acl to android;
modify fiber id to unsigned int.
2017-01-23 16:59:58 +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
627ec25f93 fixe one bug of acl_fiber_killed() in fiber.c. 2017-01-05 14:31:41 +08:00
zhengshuxin
7e13962ebf delete unused files. 2017-01-04 16:24:17 +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
郑树新
b645636cc0 Update README.md 2016-10-30 22:07:18 +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
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