Update some comments.

This commit is contained in:
Gregory Nutt 2017-09-11 14:27:02 -06:00
parent 7fbceacb46
commit 808238c871
2 changed files with 6 additions and 6 deletions

View File

@ -77,7 +77,7 @@ FAT Long File Names
This Wikipedia entry has been updated with recent legal decisions in favor This Wikipedia entry has been updated with recent legal decisions in favor
of Microsoft. Refer to: of Microsoft. Refer to:
http://en.wikipedia.org/wiki/File_Allocation_Table#Legal_issues https://en.wikipedia.org/wiki/File_Allocation_Table#Patents
So you have been forewarned: Use the long filename at your own risk! So you have been forewarned: Use the long filename at your own risk!

View File

@ -62,17 +62,17 @@ bool sched_verifytcb(FAR struct tcb_s *tcb)
/* Return true if the PID hashes to this TCB. This will catch the case /* Return true if the PID hashes to this TCB. This will catch the case
* where the task associated with the TCB has terminated (note that * where the task associated with the TCB has terminated (note that
* sched_releasedtcb() will nullify the TCB field in that case). The * sched_releasedtcb() will nullify the TCB field in that case). The
* following logic will also detect the case where the task assocated * following logic will also detect the case where the task associated
* with the TCB has terminated and another task has been started with a * with the TCB has terminated and another task has been started with a
* different TCB but with a PID hashing to the same entry. * different TCB but with a PID hashing to the same entry.
* *
* NOTE: In the event that the TCB has terminated, the 'tcb' parameter * NOTE: In the event that the TCB has terminated, the 'tcb' parameter
* will point at either a stale or a re-allocated memory allocation. The * will point at either a stale or a re-allocated memory allocation. The
* PID fetched by the use of the bad pointer(tcb->pid) should not cause * PID fetched by the use of the bad pointer(tcb->pid) should not cause
* any memory faults (at least in the FLAT or PROTECTED builds) because * any memory faults because we do at least know that the pointer refers
* we do at least know that the pointer refers to valid memory and the * to valid memory in the kernel address space and that the hash macro,
* hash macro, PIDHASH(), will return a valid, in-range index into the * PIDHASH(), will return a valid, in-range index into the g_pidhash[]
* g_pidhash[] table. * table.
* *
* REVISIT: This logic will not, however, catch the case where the task * REVISIT: This logic will not, however, catch the case where the task
* originally associated with the TCB has terminated, but a new task was * originally associated with the TCB has terminated, but a new task was