tools/nxstyle.c: Fix logic that detects if an operator is correctly delimited with spaces. sched/: Various changes because sched/ C files were used as Guinea Pigs to test nstyle.c.

This commit is contained in:
Gregory Nutt
2019-03-01 10:50:02 -06:00
parent 4942867fcf
commit f914ec6e2b
28 changed files with 362 additions and 233 deletions
+9
View File
@@ -903,15 +903,24 @@ o pthreads (sched/pthreads libs/libc/pthread)
1. The Use is not fully verified. How are these interfaces
used? How should they be tested?
2. These interfaces depend on architecture specific support
support fraom each architecture that support is not be
fully available to the pthread library in all cases.
There should a setting, say CONFIG_ARCH_HAVE_TESTSET=y
that indicates if the architect provides up_testset().
3. It is also restricted to CONFIG_BUILD_FLAT because the
critical test and set function (up_testset()) as
prototyped in include/nuttx/spinlock() does not permit an
inline function or macro to be used in user-mode
application space.
Update: A better alternative would be to move the CPU-
depending up_testset() implementation from the arch/
directories and into libs/libc/machine.
For these reasons, the selection is marked EXPERIMENTAL.
Status: Open
Priority: Low. These are new interfaces and not yet in wide use. The