Lines Matching refs:task2
126 printf("task2 try to get mutex, wait forever.\n");
129 printf("task2 get mutex g_testMux and suspend 100 ticks.\n");
134 printf("task2 resumed and post the g_testMux\n");
144 TSK_INIT_PARAM_S task2 = { 0 };
166 task2.pfnTaskEntry = (TSK_ENTRY_FUNC)ExampleMutexTask2;
167 task2.pcName = "MutexTsk2";
168 task2.uwStackSize = LOSCFG_BASE_CORE_TSK_DEFAULT_STACK_SIZE;
169 task2.usTaskPrio = 4;
170 ret = LOS_TaskCreate(&taskId02, &task2);
172 printf("task2 create failed.\n");
189 task2 try to get mutex, wait forever.
190 task2 get mutex g_testMux and suspend 100 ticks.
193 task2 resumed and post the g_testMux