Commit Graph

403 Commits (017ca1efe71967e04396d8844f1a8499f53009d1)

Author SHA1 Message Date
YuQing 71b2229427 fast_task_queue.h: remove field finish_callback 2025-11-15 11:13:15 +08:00
YuQing e8a9967801 set use_io_uring explicitly 2025-11-04 15:34:25 +08:00
YuQing dac653d694 IOEventCallback: change event type from short to int 2025-10-05 09:44:24 +08:00
YuQing d5dbe3d030 free_queue support parameter: need_shrink and set task->shrinked 2025-10-03 21:03:31 +08:00
YuQing cb6f6f13f3 support Linux io_uring OK 2025-09-27 15:37:56 +08:00
YuQing a4cae13e07 add function fc_ftoa 2025-09-10 15:06:17 +08:00
YuQing 3f19715e45 add function bytes_to_human_str 2025-08-29 11:36:10 +08:00
YuQing d59da03d60 use size_t instead int to avoid compile warning 2025-08-21 20:52:35 +08:00
YuQing 8e51f4de3e logger.h export function log_it_ex3 2025-08-20 17:54:29 +08:00
YuQing ec2db7cd33 replace sprintf and snprintf as necessary 2025-08-07 19:55:41 +08:00
YuQing 63ef9aa8f4 add functions short2hex, int2hex, long2hex etc. 2025-08-06 14:16:06 +08:00
YuQing cf16c41054 src/connection_pool.[hc]: restore pthread mutex lock 2025-08-03 15:18:23 +08:00
YuQing 7fbb5c620b change int2buff, buff2int etc. functions to static inline 2025-08-03 15:10:28 +08:00
YuQing 9acc202481 connection_pool.[hc]: use CAS instead of pthread mutex lock 2025-08-02 19:16:03 +08:00
YuQing fda2679435 fast_mblock.[hc] remove counter: free node count 2025-07-22 16:37:36 +08:00
YuQing a256976600 fast_mblock.[hc] add counter: free node count 2025-07-09 09:20:41 +08:00
YuQing a6dc24e2f3 add files: spinlock.[hc] 2025-07-07 17:30:43 +08:00
YuQing 70f6ad56ed getIpaddrByName: normalize ip addr when input addr is IPv4 or IPv6 2025-06-19 16:13:10 +08:00
YuQing de1e9e7ec4 add function fc_compare_int64_ptr 2025-03-18 08:42:39 +08:00
YuQing 19dcd0c5c4 impl. shorten_path for /./ and /../ 2025-02-03 20:07:29 +08:00
YuQing 13fc696432 conn_pool_get_connection_ex add parameter: shared 2025-01-27 10:55:26 +08:00
YuQing 83f757672b add function is_rotational_device_by_path 2024-11-01 11:31:46 +08:00
YuQing 21366a4a2e add function get_statfs_by_path 2024-10-31 10:31:43 +08:00
YuQing 8a97e84e1c connection pool performance optimization 2024-09-22 12:19:50 +08:00
YuQing 1b777792ab task init callback support extra argument 2024-09-15 12:03:18 +08:00
YuQing fef0a4a7f3 adapt to FreeBSD 13 2024-05-19 11:11:42 +08:00
YuQing 7f699688c0 add functions: get_log_level and get_log_level_caption 2024-04-08 15:15:34 +08:00
YuQing 226fd0d378 format ip address for IPv6 2024-03-05 10:58:09 +08:00
YuQing 55ff532f92 struct fast_task_info remove fields: connect_timeout and network_timeout 2024-02-20 09:48:24 +08:00
YuQing d18ad54c2b add macro FC_SET_STRING_EMPTY 2024-02-15 16:44:00 +08:00
YuQing e0e7b9ef35 fc_queue.[hc]: add function fc_queue_remove 2024-01-21 09:22:43 +08:00
YuQing 05f3d62ee1 call fast_mblock_ref_counter_dec for delay free node correctly 2024-01-07 14:59:00 +08:00
YuQing 7816a28c53 use strtok_r instead of strtok for thread safety 2023-12-23 16:19:11 +08:00
YuQing 78caf9224b replace inet_ntop to getnameinfo for IPv6 2023-12-01 11:31:26 +08:00
YuQing 700a5bcaec replace type in_addr_t to in_addr_64_t 2023-11-24 15:25:14 +08:00
YuQing a1914ea249 add functions: fc_queue_push_with_check and fc_queue_peek 2023-09-30 14:46:56 +08:00
YuQing acaf94db0c struct fast_task_info support send and recv double buffers 2023-09-25 18:36:15 +08:00
YuQing e0bbe89d23 connection_pool.[hc] support thread local for performance 2023-09-20 07:40:14 +08:00
YuQing 70c44ea490 nio thread data support busy_polling_callback 2023-09-18 16:17:34 +08:00
YuQing 5139ec4682 connection_pool.[hc] support callbacks for RDMA 2023-09-10 20:54:24 +08:00
YuQing 44f827f291 server_id_func.[hc]: support communication type 2023-09-06 17:24:44 +08:00
YuQing 4a86162913 struct fast_task_info add field conn for RDMA connection 2023-09-05 09:20:07 +08:00
YuQing 05a694df77 get full mac address of infiniband NIC under Linux 2023-08-27 14:54:51 +08:00
YuQing 4480669e03 uniq_skiplist support arg for free callback 2023-08-05 20:46:35 +08:00
YuQing fafbbb557e bugfixed: array_allocator_alloc MUST init the array 2023-08-02 14:59:57 +08:00
YuQing 3924213c9a sorted_queue.[hc]: pop_compare_func support argument 2023-07-05 16:39:57 +08:00
YuQing 4df1107fa3 add function fc_safe_writev 2023-05-29 18:15:59 +08:00
YuQing 0c588d965e bugfixed: fast_mblock_batch_alloc correct return value 2023-05-28 16:31:53 +08:00
YuQing 8cea8632d7 sorted_queue.[hc] support pop_compare_func 2023-05-23 20:13:38 +08:00
YuQing e02bb4edc3 fast_mblock_init_ex2 add parameter prealloc_trunk_count 2023-05-19 11:20:30 +08:00