MCPcopy Create free account
hub / github.com/chengwei0427/Lidar_IMU_Localization / start_thread

Method start_thread

include/ikd-Tree/ikd_Tree.cpp:193–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191
192template <typename PointType>
193void KD_TREE<PointType>::start_thread()
194{
195 pthread_mutex_init(&termination_flag_mutex_lock, NULL);
196 pthread_mutex_init(&rebuild_ptr_mutex_lock, NULL);
197 pthread_mutex_init(&rebuild_logger_mutex_lock, NULL);
198 pthread_mutex_init(&points_deleted_rebuild_mutex_lock, NULL);
199 pthread_mutex_init(&working_flag_mutex, NULL);
200 pthread_mutex_init(&search_flag_mutex, NULL);
201 pthread_create(&rebuild_thread, NULL, multi_thread_ptr, (void *)this);
202 printf("Multi thread started \n");
203}
204
205template <typename PointType>
206void KD_TREE<PointType>::stop_thread()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected