diff --git a/trustzone-awared-vm/Host/vtzb_proxy/thread_pool.c b/trustzone-awared-vm/Host/vtzb_proxy/thread_pool.c index 69cefd0e0cf7bf9b032e9dbce794aba0b9818b42..2c2262ca5aae2c4929af068abb77c5d201fb1c5f 100644 --- a/trustzone-awared-vm/Host/vtzb_proxy/thread_pool.c +++ b/trustzone-awared-vm/Host/vtzb_proxy/thread_pool.c @@ -186,8 +186,8 @@ void *admin_thread(void *arg) pthread_mutex_lock(&pool->time_mutex); for (i = 0; i < THREAD_POOL_SIZE; i++) { if (g_time_out[i].flag != 0 && (time_sec - g_time_out[i].start_time) > DEFAULT_TIME_SEC) { - kill_open_session_thd(&g_time_out[i]); - g_time_out[i].flag = 0; + tlogw("check tid is %lu, seq_num is %d, it has been doing for %ld seconds.\n", \ + g_time_out[i].tid, g_time_out[i].seq_num, time_sec - g_time_out[i].start_time); } } pthread_mutex_unlock(&pool->time_mutex); @@ -342,4 +342,4 @@ unsigned int get_thread_session_id(ThreadPool *pool, pthread_t thd, unsigned int } pthread_mutex_unlock(&pool->session_mutex); return id; -} \ No newline at end of file +} diff --git a/trustzone-awared-vm/VM/vtzdriver/serialport.c b/trustzone-awared-vm/VM/vtzdriver/serialport.c index 665018087c02506782135a472ac4d6af2442e6ae..9b1d2c24524d6ccaef4de7f3aa49f34db2b08d74 100644 --- a/trustzone-awared-vm/VM/vtzdriver/serialport.c +++ b/trustzone-awared-vm/VM/vtzdriver/serialport.c @@ -742,7 +742,7 @@ int send_to_proxy(void * wrt_buf, size_t size_wrt_buf, void * rd_buf, size_t siz ret = wait_event_interruptible(event_data->wait_event_wq, event_data->ret_flag); if (ret != 0) { - tloge("wait event interruptible failed!, ret = %d\n", ret); + tlogw("wait event interruptible failed!, ret = %d\n", ret); ret = -EINTR; } else { ret = event_data->rd_ret;