Commit Graph

87 Commits

Author SHA1 Message Date
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