Commit Graph

646 Commits (082a0fbc06fe0db0fe23147de2ba4f5b1132e6d2)

Author SHA1 Message Date
YuQing f776a818f4 correct old_value in the log info 2020-08-22 12:02:23 +08:00
YuQing c2d8faaba7 thread pool enhance 2020-08-05 15:00:37 +08:00
YuQing 4b085fbc09 add functions: get thread counters 2020-07-22 17:54:14 +08:00
YuQing 29586005ba add files: thread_pool.[hc] 2020-07-20 18:03:47 +08:00
YuQing 8e0f5794d9 add files: shared_buffer.[hc] 2020-07-10 21:44:10 +08:00
YuQing 4aad4f78b9 add files: fc_memory.[hc] 2020-07-07 10:32:16 +08:00
YuQing ec22ab681e bugfixed: uniq_addresses use FCAddressPtrArray 2020-06-28 19:26:42 +08:00
YuQing fb03bf23ba add fc_queue.[hc] 2020-06-01 16:38:48 +08:00
YuQing 473b1e7218 add function: fc_get_umask 2020-05-29 14:32:42 +08:00
YuQing 2cb3214d58 disable -Wformat-xxx when gcc version >= 7 2020-05-25 09:39:19 +08:00
YuQing 7187840167 add src/tests/test_file_lock.c 2020-05-24 15:11:31 +08:00
YuQing d1f1bf97e1 add function uniq_skiplist_replace_ex 2020-05-21 18:10:28 +08:00
YuQing 85aff01e5e test_crc32.c support offset and size 2020-05-17 15:54:41 +08:00
YuQing b9cae5de7f add macro PTHREAD_MUTEX_LOCK 2020-05-10 20:29:05 +08:00
YuQing 7149a54128 use mutex lock when access dynamic content array 2020-05-07 16:41:21 +08:00
YuQing 54cb8f8415 free_queue support init_callback 2020-05-06 16:04:01 +08:00
YuQing 87d7b1f55d add fc_list_first_entry 2020-05-05 11:13:00 +08:00
YuQing e86767c120 add function fc_list_add_before 2020-05-02 21:12:51 +08:00
YuQing 73dba84e82 uniq_skiplist_grow set prev link correctly 2020-04-27 14:16:00 +08:00
YuQing e4a5cadfe1 connection info support extra data 2020-04-26 20:19:46 +08:00
YuQing c8bf9f24ef connection_pool support validate connection on error 2020-04-26 11:12:52 +08:00
YuQing 4011fcb39e add test_file_write_hole.c 2020-04-24 22:15:41 +08:00
YuQing 688fcf4b74 uniq_skiplist add some macro defines 2020-04-22 20:27:21 +08:00
YuQing 759fd117d8 uniq_skiplist support bidirection 2020-04-21 09:31:04 +08:00
YuQing 4e53bd3e2d skiplist add function find_ge 2020-04-10 10:19:53 +08:00
YuQing 01b1841fda add function fc_get_file_line_count_ex 2020-03-31 10:10:49 +08:00
YuQing 201daee3b6 mblock_manager_stat_print format 2020-03-30 23:20:55 +08:00
YuQing c6ddfb98a1 correct int64_t compare result 2020-03-30 19:00:00 +08:00
YuQing 46da99bbba mblock stat type: int to int64_t 2020-03-30 18:44:34 +08:00
YuQing 0810cb4d21 bugfixed: allocator_array_check_capacity alloc size 2020-03-29 22:03:13 +08:00
YuQing 427818d005 fast_mblock stats refine 2020-03-29 12:30:42 +08:00
YuQing 590aa8d3a0 bugfixed: call fast_mblock_destroy in common_blocked_queue_destroy 2020-03-28 23:12:02 +08:00
YuQing 2df796589c add function common_blocked_queue_push_ex 2020-03-26 19:04:41 +08:00
YuQing d3b0c5dfb0 add function fast_buffer_set_capacity 2020-03-26 15:51:31 +08:00
YuQing c2837fde5f add functions getIpAndPort and getPeerIpAndPort 2020-03-26 11:36:44 +08:00
YuQing da4c9a2581 common_blocked_queue_return_nodes 2020-03-23 21:54:31 +08:00
YuQing 6d88bb980d bugfixed: must use lock when free_all_nodes 2020-03-22 13:21:20 +08:00
YuQing edb8b2c4dd sched_add_entries use temp ScheduleArray for rare case 2020-03-21 09:50:03 +08:00
YuQing 21336eee3e add function fc_init_buffer 2020-03-13 15:09:08 +08:00
YuQing 4d653d1b3e add functions: create_work_threads_ex and fc_create_thread 2020-03-12 10:36:51 +08:00
YuQing 3d0956d302 nio_thread_data support thread notify 2020-03-10 21:16:27 +08:00
YuQing f9881d96b7 add canceled field for complicated thread model 2020-03-09 10:51:46 +08:00
YuQing b88d5b03fe add waiting_queue for Linux eventfd notify 2020-03-08 16:12:54 +08:00
YuQing 6b528f123f add ctx pointer for libserverframe nio 2020-03-06 22:06:35 +08:00
YuQing d87d98dbe0 add function fast_char_unescape 2020-03-04 20:54:50 +08:00
YuQing 773f1bc28c shared_func.[hc]: add functions getFileSize 2020-03-03 10:19:53 +08:00
YuQing 8005b18198 fast_allocator.[hc]: add function fast_allocator_strdup 2020-02-27 22:26:17 +08:00
YuQing 3e3bcda2df add functions fc_floor_prime and fc_ceil_prime 2020-02-27 15:31:44 +08:00
YuQing 74bcd17360 in func writeToFile: change write to fc_safe_write 2020-02-25 21:25:29 +08:00
YuQing a57b87b556 common_blocked_queue support pop all nodes 2020-02-24 21:57:05 +08:00