Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they.

This commit is contained in:
Gregory Nutt
2017-05-11 13:35:56 -06:00
parent ba12817f9c
commit 0de294a586
342 changed files with 438 additions and 438 deletions
+2 -2
View File
@@ -101,7 +101,7 @@ config USEC_PER_TICK
In the "normal" configuration where system time is provided by a
periodic timer interrupt, the default system timer is expected to
run at 100Hz or USEC_PER_TICK=10000. This setting must be defined
to inform of NuttX the interval that the the processor hardware is
to inform of NuttX the interval that the processor hardware is
providing system timer interrupts to the OS.
If SCHED_TICKLESS is selected, then there are no system timer
@@ -110,7 +110,7 @@ config USEC_PER_TICK
by clock_systimer() and the resolution of times that can be set for
certain delays including watchdog timers and delayed work. In this
case there is a trade-off: It is better to have the USEC_PER_TICK as
low as possible for higher timing resolution. However, the the time
low as possible for higher timing resolution. However, the time
is currently held in 'unsigned int' on some systems, this may be
16-bits but on most contemporary systems it will be 32-bits. In
either case, smaller values of USEC_PER_TICK will reduce the range
+2 -2
View File
@@ -157,7 +157,7 @@ static inline int group_addmember(FAR struct task_group_s *group, pid_t pid)
*
* Assumptions:
* - The parent task from which the group will be inherited is the task at
* the thead of the ready to run list.
* the head of the ready to run list.
* - Called during thread creation in a safe context. No special precautions
* are required here.
*
@@ -194,7 +194,7 @@ int group_bind(FAR struct pthread_tcb_s *tcb)
*
* Assumptions:
* - The parent task from which the group will be inherited is the task at
* the thead of the ready to run list.
* the head of the ready to run list.
* - Called during thread creation in a safe context. No special precautions
* are required here.
*
+1 -1
View File
@@ -127,7 +127,7 @@ static void pthread_cleanup_pop_tcb(FAR struct pthread_tcb_s *tcb, int execute)
* - The thread calls pthread_cleanup_pop() with a non-zero execute argument.
*
* Input Parameters:
* routine - The cleanup routine to be pushed on the the cleanup stack.
* routine - The cleanup routine to be pushed on the cleanup stack.
* arg - An argument that will accompany the callback.
* execute - Execute the popped cleanup function immediately.
*
+1 -1
View File
@@ -96,7 +96,7 @@ void sched_resume_scheduler(FAR struct tcb_s *tcb)
#endif
#ifdef CONFIG_SCHED_INSTRUMENTATION
/* Inidicate the the task has been resumed */
/* Inidicate the task has been resumed */
sched_note_resume(tcb);
#endif
+1 -1
View File
@@ -137,7 +137,7 @@ int sched_setaffinity(pid_t pid, size_t cpusetsize, FAR const cpu_set_t *mask)
if ((tcb->affinity & (1 << tcb->cpu)) == 0)
{
/* No.. then we will need to move the task from the the assigned
/* No.. then we will need to move the task from the assigned
* task list to some other ready to run list.
*
* sched_setpriority() will do just what we want... it will remove
+1 -1
View File
@@ -215,7 +215,7 @@ static void sched_readytorun_setpriority(FAR struct tcb_s *tcb,
cpu = tcb->cpu;
}
/* The running task is the the task at the head of the g_assignedtasks[]
/* The running task is the task at the head of the g_assignedtasks[]
* associated with the selected CPU.
*/
+3 -3
View File
@@ -1153,7 +1153,7 @@ int sched_sporadic_suspend(FAR struct tcb_s *tcb)
*
* Returned Value:
* The number if ticks remaining until the budget interval expires.
* Zero is returned if we are in the low-priority phase of the the
* Zero is returned if we are in the low-priority phase of the
* replenishment interval.
*
* Assumptions:
@@ -1182,7 +1182,7 @@ uint32_t sched_sporadic_process(FAR struct tcb_s *tcb, uint32_t ticks,
return 0;
}
/* Check if the the budget interval has elapse If 'ticks' is greater
/* Check if the budget interval has elapse If 'ticks' is greater
* than the timeslice value, then we ignore any excess amount.
*
* 'ticks' should never be greater than the remaining timeslice. We try
@@ -1231,7 +1231,7 @@ uint32_t sched_sporadic_process(FAR struct tcb_s *tcb, uint32_t ticks,
return 1;
}
/* Another possibility is the the budget interval is equal to the
/* Another possibility is the budget interval is equal to the
* entire replenishment interval. This would not seem like such a
* good thing to do, but is certainly permitted.
*/
+1 -1
View File
@@ -84,7 +84,7 @@ void sched_suspend_scheduler(FAR struct tcb_s *tcb)
#endif
#ifdef CONFIG_SCHED_INSTRUMENTATION
/* Inidicate the the task has been suspended */
/* Inidicate the task has been suspended */
sched_note_suspend(tcb);
#endif
+1 -1
View File
@@ -60,7 +60,7 @@ pid_t getpid(void)
{
FAR struct tcb_s *rtcb;
/* Get the the TCB at the head of the ready-to-run task list. That
/* Get the TCB at the head of the ready-to-run task list. That
* will be the currently executing task. There is an exception to
* this: Early in the start-up sequence, the ready-to-run list may be
* empty! This case, of course, the start-up/IDLE thread with pid == 0
+1 -1
View File
@@ -146,7 +146,7 @@ int task_terminate(pid_t pid, bool nonblocking)
cpu = sched_cpu_pause(dtcb);
/* Get the task list associated with the the thread's state and CPU */
/* Get the task list associated with the thread's state and CPU */
tasklist = TLIST_HEAD(dtcb->task_state, cpu);
#else
+1 -1
View File
@@ -399,7 +399,7 @@ pid_t task_vforkstart(FAR struct task_tcb_s *child)
/* Eliminate a race condition by disabling pre-emption. The child task
* can be instantiated, but cannot run until we call waitpid(). This
* assures us that we cannot miss the the death-of-child signal (only
* assures us that we cannot miss the death-of-child signal (only
* needed in the SMP case).
*/
+1 -1
View File
@@ -82,7 +82,7 @@ WDOG_ID wd_create (void)
flags = enter_critical_section();
/* If we are in an interrupt handler -OR- if the number of pre-allocated
* timer structures exceeds the reserve, then take the the next timer from
* timer structures exceeds the reserve, then take the next timer from
* the head of the free list.
*/
+1 -1
View File
@@ -403,7 +403,7 @@ int wd_start(WDOG_ID wdog, int32_t delay, wdentry_t wdentry, int argc, ...)
*
* Parameters:
* ticks - If CONFIG_SCHED_TICKLESS is defined then the number of ticks
* in the the interval that just expired is provided. Otherwise,
* in the interval that just expired is provided. Otherwise,
* this function is called on each timer interrupt and a value of one
* is implicit.
*
+1 -1
View File
@@ -116,7 +116,7 @@ void weak_function wd_initialize(void);
*
* Parameters:
* ticks - If CONFIG_SCHED_TICKLESS is defined then the number of ticks
* in the the interval that just expired is provided. Otherwise,
* in the interval that just expired is provided. Otherwise,
* this function is called on each timer interrupt and a value of one
* is implicit.
*
+1 -1
View File
@@ -185,7 +185,7 @@ void work_process(FAR struct kwork_wqueue_s *wqueue, systime_t period, int wndx)
{
/* This one is not ready.
*
* NOTE that elapsed is relative to the the current time,
* NOTE that elapsed is relative to the current time,
* not the time of beginning of this queue processing pass.
* So it may need an adjustment.
*/