Add linux kernel interval tree
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user