add log realdata send funtion

This commit is contained in:
lnk
2025-02-25 16:33:11 +08:00
parent d1fa47e3f1
commit c597ee5b9b
5 changed files with 345 additions and 4 deletions

View File

@@ -17,6 +17,7 @@
#include "apr_time.h"
#include <stdbool.h>//lnk20241022
#include "../cfgparse/custom_printf.h"//lnk20250225
#define LOG_IDX (0)
#define RPT_IDX (1)

View File

@@ -401,7 +401,7 @@ static void* APR_THREAD_FUNC rtdb_worker(apr_thread_t* thd, void* data)
/* Maintenance the clients request */
while (1) {
pthread_mutex_lock(&mtx); printf("work hold lock !!!!!!!!!!!");
//pthread_mutex_lock(&mtx); printf("work hold lock !!!!!!!!!!!");
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
printf("check error4 !!!!!!!!!!!!!!\n");
@@ -421,6 +421,8 @@ static void* APR_THREAD_FUNC rtdb_worker(apr_thread_t* thd, void* data)
//check_recall_config();//<2F><><EFBFBD>ٽ<EFBFBD><D9BD>̶<EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
create_recall_xml();//<2F><><EFBFBD>ɴ<EFBFBD><C9B4><EFBFBD><EFBFBD><EFBFBD>xml<6D>ļ<EFBFBD>
pthread_mutex_lock(&mtx); printf("work hold lock !!!!!!!!!!!");
check_ledger_update();//lnk20250113<31><33>ȡ̨<C8A1>˸<EFBFBD><CBB8>£<EFBFBD><C2A3><EFBFBD><EFBFBD><EFBFBD>̨<EFBFBD>˸<EFBFBD><CBB8><EFBFBD>
pthread_mutex_unlock(&mtx); printf("work free lock !!!!!!!!!!!");