[fix] change chinese comment to english and fix some wrong character
This commit is contained in:
parent
f4abcef96f
commit
0b55a75211
|
@ -154,7 +154,7 @@ static void test_static_mutex_release(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* startup thread adn take mutex second */
|
/* startup thread and take mutex second */
|
||||||
rt_thread_startup(tid);
|
rt_thread_startup(tid);
|
||||||
|
|
||||||
/* let system schedule */
|
/* let system schedule */
|
||||||
|
@ -290,7 +290,7 @@ static void test_static_pri_reverse(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 创建线程 1 */
|
/* thread1 */
|
||||||
tid1 = rt_thread_create("thread1",
|
tid1 = rt_thread_create("thread1",
|
||||||
static_thread1_entry,
|
static_thread1_entry,
|
||||||
&static_mutex,
|
&static_mutex,
|
||||||
|
@ -300,7 +300,7 @@ static void test_static_pri_reverse(void)
|
||||||
if (tid1 != RT_NULL)
|
if (tid1 != RT_NULL)
|
||||||
rt_thread_startup(tid1);
|
rt_thread_startup(tid1);
|
||||||
|
|
||||||
/* 创建线程 2 */
|
/* thread2 */
|
||||||
tid2 = rt_thread_create("thread2",
|
tid2 = rt_thread_create("thread2",
|
||||||
static_thread2_entry,
|
static_thread2_entry,
|
||||||
&static_mutex,
|
&static_mutex,
|
||||||
|
@ -310,7 +310,7 @@ static void test_static_pri_reverse(void)
|
||||||
if (tid2 != RT_NULL)
|
if (tid2 != RT_NULL)
|
||||||
rt_thread_startup(tid2);
|
rt_thread_startup(tid2);
|
||||||
|
|
||||||
/* 创建线程 3 */
|
/* thread3 */
|
||||||
tid3 = rt_thread_create("thread3",
|
tid3 = rt_thread_create("thread3",
|
||||||
static_thread3_entry,
|
static_thread3_entry,
|
||||||
&static_mutex,
|
&static_mutex,
|
||||||
|
@ -467,7 +467,7 @@ static void test_dynamic_mutex_release(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* startup thread adn take mutex second */
|
/* startup thread and take mutex second */
|
||||||
rt_thread_startup(tid);
|
rt_thread_startup(tid);
|
||||||
|
|
||||||
/* let system schedule */
|
/* let system schedule */
|
||||||
|
@ -599,7 +599,7 @@ static void test_dynamic_pri_reverse(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 创建线程 1 */
|
/* thread1 */
|
||||||
tid1 = rt_thread_create("thread1",
|
tid1 = rt_thread_create("thread1",
|
||||||
dynamic_thread1_entry,
|
dynamic_thread1_entry,
|
||||||
dynamic_mutex,
|
dynamic_mutex,
|
||||||
|
@ -609,7 +609,7 @@ static void test_dynamic_pri_reverse(void)
|
||||||
if (tid1 != RT_NULL)
|
if (tid1 != RT_NULL)
|
||||||
rt_thread_startup(tid1);
|
rt_thread_startup(tid1);
|
||||||
|
|
||||||
/* 创建线程 2 */
|
/* thread2 */
|
||||||
tid2 = rt_thread_create("thread2",
|
tid2 = rt_thread_create("thread2",
|
||||||
dynamic_thread2_entry,
|
dynamic_thread2_entry,
|
||||||
dynamic_mutex,
|
dynamic_mutex,
|
||||||
|
@ -619,7 +619,7 @@ static void test_dynamic_pri_reverse(void)
|
||||||
if (tid2 != RT_NULL)
|
if (tid2 != RT_NULL)
|
||||||
rt_thread_startup(tid2);
|
rt_thread_startup(tid2);
|
||||||
|
|
||||||
/* 创建线程 3 */
|
/* thread3 */
|
||||||
tid3 = rt_thread_create("thread3",
|
tid3 = rt_thread_create("thread3",
|
||||||
dynamic_thread3_entry,
|
dynamic_thread3_entry,
|
||||||
dynamic_mutex,
|
dynamic_mutex,
|
||||||
|
|
Loading…
Reference in New Issue