Lines Matching defs:thread
68 static pthread_t thread = 0;
69 PLUGIN_LOGV("BShellParamCmdWatch %s, threadId %d", argv[1], thread);
71 if (thread != 0) {
75 pthread_create(&thread, NULL, CmdReader, argv[1]);
77 if (thread == 0) {
82 pthread_join(thread, NULL);
83 thread = 0;
90 pthread_t thread;
175 pthread_create(&context[i]->thread, NULL, CmdThreadWatcher, context[i]);
200 if (strcmp(argv[CMD_INDEX], "thread") == 0) { // 2 cmd index