Clarify TODO list

This commit is contained in:
Gregory Nutt 2016-11-19 16:58:25 -06:00
parent 82cd27170b
commit f5b35e0461

17
TODO
View File

@ -322,12 +322,17 @@ o SMP
There might be a simple way to handler this; perhaps using There might be a simple way to handler this; perhaps using
up_cpu_pause(), you could pause all of the other CPUs, perform up_cpu_pause(), you could pause all of the other CPUs, perform
the restart/delete operation, then restart all other CPUs. But the restart/delete operation, then restart all other CPUs. A
this seems like a lot of work to support some garbage interfaces better solution would be a new interface like up_cpu_stop().
that really should be removed anyway. These are unsafe, non- This would be sent to all CPUs and if the task is running on
standard interfaces that really have no place in an RTOS (unsafe any of them, it would suspend the task and put it in the INVALID
because you don't know what resources were held by the task when state.
it was restarted or deleted).
But this seems like a lot of work to support some garbage
interfaces that really should be removed anyway. These are
unsafe, non-standard interfaces that really have no place in an
RTOS (unsafe because you don't know what resources were held
by the task when it was restarted or deleted).
NOTE: Currently task_restart() is not even built if CONFIG_SMP=y. NOTE: Currently task_restart() is not even built if CONFIG_SMP=y.
The task_restart() test is also disabled in apps/examples/ostest The task_restart() test is also disabled in apps/examples/ostest