]> Zhao Yanbai Git Server - minix.git/commitdiff
Comment corrections from Al
authorBen Gras <ben@minix3.org>
Fri, 7 Oct 2005 13:23:39 +0000 (13:23 +0000)
committerBen Gras <ben@minix3.org>
Fri, 7 Oct 2005 13:23:39 +0000 (13:23 +0000)
kernel/clock.c
kernel/proc.c

index 58f739f299498d308ebc0fb2bb0a106dda44f28b..311ad51aba9edbcae9515222c98df181aa8db7a4 100755 (executable)
@@ -1,5 +1,5 @@
 
-/* The file contais the clock task, which handles all time related functions.
+/* The file contains the clock task, which handles all time related functions.
  * Important events that are handled by the CLOCK include alarm timers and
  * (re)scheduling user processes. 
  * The CLOCK offers a direct interface to kernel processes. System services 
index 78e2cfd25ab29ce5abc443b4327d70063c768b46..91228cf4a32a29e30fe063b6799f0347e7d7337b 100755 (executable)
@@ -228,7 +228,7 @@ unsigned flags;                             /* system call flags */
                 dst_ptr->p_messbuf);
        if ((dst_ptr->p_rts_flags &= ~RECEIVING) == 0) enqueue(dst_ptr);
   } else if ( ! (flags & NON_BLOCKING)) {
-       /* Destination is not waiting.  Block and queue caller. */
+       /* Destination is not waiting.  Block and dequeue caller. */
        caller_ptr->p_messbuf = m_ptr;
        if (caller_ptr->p_rts_flags == 0) dequeue(caller_ptr);
        caller_ptr->p_rts_flags |= SENDING;