Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

test

  • Loading branch information...
commit f4494daccaa7fa249068b2cd3ce07d9fff6ca6f5 1 parent b7134e6
@astrotycoon authored
1  COS
@@ -0,0 +1 @@
+Subproject commit 891de429819ea11502a047510cd9d3f04d3a6b7f
1  cos472
@@ -0,0 +1 @@
+Subproject commit f1ffa70fdb0cfbc6c649d0624f4c0db7d457fb90
1  object_oriented_c
@@ -0,0 +1 @@
+Subproject commit 102cb18cb4939682b9616bc5e7b52c4ad09eddcd
View
4 uCOS/SOFTWARE/uCOS-II/SOURCE/OS_CORE.C
@@ -179,7 +179,7 @@ void OSIntExit (void)
if (OSRunning == TRUE) {
OS_ENTER_CRITICAL();
if (OSIntNesting > 0) { /* Prevent OSIntNesting from wrapping */
- OSIntNesting--;
+ OSIntNesting--; /* 中段嵌套层计数器减1 */
}
if ((OSIntNesting == 0) && (OSLockNesting == 0)) { /* Reschedule only if all ISRs complete ... */
OSIntExitY = OSUnMapTbl[OSRdyGrp]; /* ... and not locked. */
@@ -303,7 +303,7 @@ void OSStart (void)
OSPrioCur = OSPrioHighRdy;
OSTCBHighRdy = OSTCBPrioTbl[OSPrioHighRdy]; /* Point to highest priority task ready to run */
OSTCBCur = OSTCBHighRdy;
- OSStartHighRdy(); /* Execute target specific code to start task */
+ OSStartHighRdy(); /* Execute target specific code to start task *//* 运行最高优先级别的就绪任务 */
}
}
/*$PAGE*/
Please sign in to comment.
Something went wrong with that request. Please try again.