Explorar o código

Merge pull request #13 from yangjie11/new

修改注释
yqiu %!s(int64=7) %!d(string=hai) anos
pai
achega
8d0be3ca0c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      priority_inversion.c

+ 1 - 1
priority_inversion.c

@@ -39,7 +39,7 @@ static void thread1_entry(void *parameter)
 
     /* 此时 thread3 持有 mutex,并且 thread2 等待持有 mutex */
 
-    /* 检查 rt_kprintf("the producer generates a number: %d\n", array[set%MAXSEM]); 与 thread3 的优先级情况 */
+    /* 检查 thread2 与 thread3 的优先级情况 */
     if (tid2->current_priority != tid3->current_priority)
     {
         /* 优先级不相同,测试失败 */