Add linux kernel interval tree

This commit is contained in:
luwenpeng
2024-03-27 17:11:38 +08:00
parent eb281ab789
commit 814a0d739f
25 changed files with 2200 additions and 1665 deletions

View File

@@ -98,6 +98,12 @@ static void *dumpfile_thread_cycle(void *arg)
file_scan(handle->dumpfile_dir, dumpfile_handle, arg);
while (ATOMIC_READ(&handle->io_thread_need_exit) == 0)
{
PACKET_IO_LOG_STATE("dumpfile io thread waiting");
sleep(1);
}
PACKET_IO_LOG_STATE("dumpfile io thread is exiting");
ATOMIC_SET(&handle->io_thread_is_runing, 0);