Lines Matching defs:thread

63     SoftBusThread thread = SoftBusThreadGetSelf();
64 EXPECT_TRUE(thread != 0);
446 * @tc.desc: thread is nullptr
468 SoftBusThread thread = 0;
470 int32_t ret = SoftBusThreadCreate(&thread, nullptr, SoftBusThreadTask, nullptr);
472 EXPECT_TRUE(thread != 0);
483 SoftBusThread thread = 0;
488 ret = SoftBusThreadCreate(&thread, &threadAttr, SoftBusThreadTask, nullptr);
490 EXPECT_TRUE(thread != 0);
502 SoftBusThread thread = 0;
508 ret = SoftBusThreadCreate(&thread, &threadAttr, SoftBusThreadTask, nullptr);
510 EXPECT_TRUE(thread != 0);
522 SoftBusThread thread = 0;
528 ret = SoftBusThreadCreate(&thread, &threadAttr, SoftBusThreadTask, nullptr);
530 EXPECT_TRUE(thread != 0);
541 SoftBusThread thread = 0;
547 ret = SoftBusThreadCreate(&thread, &threadAttr, SoftBusThreadTask, nullptr);
549 EXPECT_TRUE(thread != 0);
560 SoftBusThread thread = 0;
566 ret = SoftBusThreadCreate(&thread, &threadAttr, SoftBusThreadTask, nullptr);
568 EXPECT_TRUE(thread != 0);
579 SoftBusThread thread = 0;
585 ret = SoftBusThreadCreate(&thread, &threadAttr, SoftBusThreadTask, nullptr);
587 EXPECT_TRUE(thread != 0);
598 SoftBusThread thread = 0;
604 ret = SoftBusThreadCreate(&thread, &threadAttr, SoftBusThreadTask, nullptr);
606 EXPECT_TRUE(thread != 0);
618 SoftBusThread thread = 0;
623 ret = SoftBusThreadCreate(&thread, &threadAttr, nullptr, nullptr);
635 SoftBusThread thread = 0;
642 ret = SoftBusThreadCreate(&thread, &threadAttr, SoftBusThreadTask, nullptr);
644 EXPECT_TRUE(thread != 0);
646 ret = SoftBusThreadSetName(thread, nullptr);
659 SoftBusThread thread = 0;
666 ret = SoftBusThreadCreate(&thread, &threadAttr, SoftBusThreadTask, nullptr);
668 EXPECT_TRUE(thread != 0);
670 ret = SoftBusThreadSetName(thread, name);
683 SoftBusThread thread = 0;
690 ret = SoftBusThreadCreate(&thread, &threadAttr, SoftBusThreadTask, nullptr);
692 EXPECT_TRUE(thread != 0);
694 ret = SoftBusThreadSetName(thread, name);
707 SoftBusThread thread = 0;
712 ret = SoftBusThreadCreate(&thread, &threadAttr, SoftBusThreadTask, nullptr);
714 EXPECT_TRUE(thread != 0);
716 ret = SoftBusThreadSetName(thread, name);
729 SoftBusThread thread = 0;
734 ret = SoftBusThreadCreate(&thread, &threadAttr, SoftBusThreadTask, nullptr);
736 EXPECT_TRUE(thread != 0);
738 ret = SoftBusThreadSetName(thread, name);
751 SoftBusThread thread = 0;
753 int32_t ret = SoftBusThreadCreate(&thread, nullptr, SoftBusThreadTask, nullptr);
755 EXPECT_TRUE(thread != 0);
757 ret = SoftBusThreadSetName(thread, name);
770 SoftBusThread thread = 0;
772 int32_t ret = SoftBusThreadCreate(&thread, NULL, ThreadSelfTest, nullptr);
774 EXPECT_TRUE(thread != 0);
817 * @tc.desc: no wait thread
830 * @tc.desc: no wait thread
1008 SoftBusThread thread = 0;
1013 ret = SoftBusThreadCreate(&thread, &threadAttr, SoftBusThreadTask, nullptr);
1015 EXPECT_TRUE(thread != 0);
1016 ret = SoftBusThreadJoin(thread, nullptr);
1029 SoftBusThread thread = 0;
1034 ret = SoftBusThreadCreate(&thread, &threadAttr, SoftBusThreadTask, nullptr);
1036 EXPECT_TRUE(thread != 0);
1037 ret = SoftBusThreadJoin(thread, (void **)&value);
1044 * @tc.desc: thread process test