Lines Matching refs:task1
95 printf("task1 try to get mutex, wait 10 ticks.\n");
99 printf("task1 get mutex g_testMux.\n");
107 printf("task1 timeout and try to get mutex, wait forever.\n");
111 printf("task1 wait forever, get mutex g_testMux.\n");
116 printf("task1 post and delete mutex g_testMux.\n");
143 TSK_INIT_PARAM_S task1 = { 0 };
155 task1.pfnTaskEntry = (TSK_ENTRY_FUNC)ExampleMutexTask1;
156 task1.pcName = "MutexTsk1";
157 task1.uwStackSize = LOSCFG_BASE_CORE_TSK_DEFAULT_STACK_SIZE;
158 task1.usTaskPrio = 5;
159 ret = LOS_TaskCreate(&taskId01, &task1);
161 printf("task1 create failed.\n");
191 task1 try to get mutex, wait 10 ticks.
192 task1 timeout and try to get mutex, wait forever.
194 task1 wait forever, get mutex g_testMux.
195 task1 post and delete mutex g_testMux.