Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
void start_pipline(pthread_t *thread, NVDSConfig & cfg)
{
pthread_mutexattr_t mutex_attr;
pthread_mutexattr_init (&mutex_attr);
pthread_mutexattr_setpshared(&mutex_attr, PTHREAD_PROCESS_PRIVATE);
pthread_mutexattr_settype(&mutex_attr, PTHREAD_MUTEX_ERRORCHECK_NP);
pthread_mutex_init(&vision_mutex, &mutex_attr);
pthread_attr_t thread_attr;
pthread_attr_init(&thread_attr);
pthread_mutex_init (&fused_mutex, NULL);
pthread_mutex_init (&server_mutex, NULL);
pthread_mutex_init (&mutex_tracks, NULL);
if (pthread_create(thread, &thread_attr, nvds_main_thread_func, (void*)&cfg))
{
printf(“Create NVDS thread filed!\n”);
}
}
start_pipline(&thread1, cfg);
start_pipline(&thread2, cfg2);
void *nvds_main_thread_func(void *args) ;=main (int argc, char *argv);