Home
last modified time | relevance | path

Searched refs:newThread (Results 1 - 4 of 4) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/message_demo/
H A Dmessage.c64 osThreadId_t newThread(char *name, osThreadFunc_t func, int *arg) in newThread() function
84 osThreadId_t ctid1 = newThread("receiver1", receiver_thread, NULL); in rtosv2_msgq_main()
85 osThreadId_t ctid2 = newThread("receiver2", receiver_thread, NULL); in rtosv2_msgq_main()
86 osThreadId_t ptid1 = newThread("sender1", sender_thread, NULL); in rtosv2_msgq_main()
87 osThreadId_t ptid2 = newThread("sender2", sender_thread, NULL); in rtosv2_msgq_main()
88 osThreadId_t ptid3 = newThread("sender3", sender_thread, NULL); in rtosv2_msgq_main()
/vendor/hisilicon/hispark_pegasus/demo/semaphore_demo/
H A Dsemp.c61 osThreadId_t newThread(char *name, osThreadFunc_t func, int *arg) in newThread() function
81 osThreadId_t ptid1 = newThread("producer1", producer_thread, NULL); in rtosv2_semp_main()
82 osThreadId_t ptid2 = newThread("producer2", producer_thread, NULL); in rtosv2_semp_main()
83 osThreadId_t ptid3 = newThread("producer3", producer_thread, NULL); in rtosv2_semp_main()
84 osThreadId_t ctid1 = newThread("consumer1", consumer_thread, NULL); in rtosv2_semp_main()
85 osThreadId_t ctid2 = newThread("consumer2", consumer_thread, NULL); in rtosv2_semp_main()
/vendor/hisilicon/hispark_pegasus/demo/mutex_demo/
H A Dmutex.c49 osThreadId_t newThread(char *name, osThreadFunc_t func, int *arg) in newThread() function
75 osThreadId_t tid1 = newThread("Thread_1", number_thread, &mid); in rtosv2_mutex_main()
76 osThreadId_t tid2 = newThread("Thread_2", number_thread, &mid); in rtosv2_mutex_main()
77 osThreadId_t tid3 = newThread("Thread_3", number_thread, &mid); in rtosv2_mutex_main()
/vendor/hisilicon/hispark_pegasus/demo/thread_demo/00_thread/
H A Dthread.c26 osThreadId_t newThread(char *name, osThreadFunc_t func, int*arg) in newThread() function
56 osThreadId_t tid = newThread("test_thread", threadTest, "This is a test thread."); in rtosv2_thread_main()

Completed in 2 milliseconds