anchao
220653f21c
Squashed commit of the following:
...
Author: anchao <anchao@pinecone.net>
apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
Loadable apps/: Correct loadable symbol table generate
apps/system/ubloxmodem: Fix build break
apps/examples/ostest: start restart/waitpid/user test from main loop
apps/nshlib: Expand reboot and poweroff commands to include a second, optional mode argument
Author: Gregory Nutt <gnutt@nuttx.org>
An attempt to fix build issues. Does not work.
apps/examples/ostest: Fix some inappropriate renaming of static functions introduced with recent patches.
apps/builtin/exec_builtin.c: Fix a error introduced by recent comments. Found in build testing.
Author: anchao <anchao@pinecone.net>
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-23 11:06:15 -06:00
Gregory Nutt
2f982e9c77
Revert "Squashed commit of the following:"
...
This reverts commit 25b92edd9f
.
2018-08-22 12:06:32 -06:00
Gregory Nutt
4d9b55e623
Revert "apps/examples/ostest: Fix some inappropriae renaming of static functions introduced with recent patches."
...
This reverts commit b0cefbf1c7
.
2018-08-22 12:06:22 -06:00
Gregory Nutt
b0cefbf1c7
apps/examples/ostest: Fix some inappropriae renaming of static functions introduced with recent patches.
2018-08-22 10:40:17 -06:00
anchao
25b92edd9f
Squashed commit of the following:
...
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-22 09:30:38 -06:00
Gregory Nutt
a57610c2c4
Remove trailing spaces at the end of lines.
2018-08-13 07:47:26 -06:00
Gregory Nutt
c36a5c12cc
apps/examples/ostest: Signal handling tests should use the same configurable stack size as used in other tests, not PTHREAD_STACK_DEFAULT.
2018-06-07 09:52:02 -06:00
Gregory Nutt
529cde02a2
apps/exmples/ostest: Eliminate a warning.
2018-04-22 15:29:59 -06:00
Juha Niskanen
d9210579b2
apps/examples/ostest: do not call AIO test without CONFIG_EXAMPLES_OSTEST_AIO
2018-04-11 07:09:47 -06:00
Gregory Nutt
fe3e7a7bad
examples/ostest: Extend cancellation test to make sure that cancelable threads waiting on a message queue or on a signal can be canceled.
2017-10-12 10:44:06 -06:00
Gregory Nutt
cffb1a7f9c
Update some comments.
2017-10-11 10:32:59 -06:00
Gregory Nutt
73c10a2607
examples/ostest: Works around a bug in printf() when cancellation points are enabled. printf() is a cancellation point because it calls write(). This is correct according to OpenGroup.org. However, printf holds the stdio library semaphore when it is canceled and this leaves the semaphore in a bad state. No fix for the printf bug yet.
2017-10-10 14:01:49 -06:00
Gregory Nutt
928443e385
examples/ostest: sem_open() now returns SEM_FAILED in the event of a failure.
2017-09-08 10:15:46 -06:00
Gregory Nutt
4477cbcbd1
Fix some misplaced semicolons as found in build testing.
2017-08-12 14:27:48 -06:00
Gregory Nutt
a063227e58
Eliminate a warning about unused static data.
2017-08-12 12:15:21 -06:00
Juha Niskanen
0bcd50d7a1
apps/: Make more globals static to avoid name clashes
2017-05-19 07:13:12 -06:00
Gregory Nutt
13911d9b17
Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they.
2017-05-11 13:40:03 -06:00
Juha Niskanen
65d59f8458
examples/ostest: clarify when pthread clean-up test mutex need to remain usable
2017-04-12 06:47:07 -06:00
Gregory Nutt
cfc71db80c
pthreads: Backed most of last pthread changes. Found the 'real' root poblem. A one like error in pthread_mutex.c.
2017-04-10 09:51:44 -06:00
Gregory Nutt
b580d494e8
examples/ostest: pthread clean-up test must call pthread_consistent, not pthread_mutex_unlock() on cancellation if robust mutexes are enabled.
2017-04-10 08:13:06 -06:00
Juha Niskanen
64ad0684e7
examples/ostest: additional test for rwlock and one for cancel cleanup handlers
2017-04-10 07:20:48 -06:00
Mark Schulte
d7932d55df
examples/ostest: pthread rwlock additional tests and bugfixes
2017-04-07 15:47:16 -06:00
Gregory Nutt
acb6077988
Remove CONFIG_PTHREAD_RWLOCK. Rwlock interfaces built unconditionally.
2017-04-07 07:30:52 -06:00
Mark Schulte
1fde89e2d9
examples/ostest: Add tests for pthread_rwlock. Adding tests to be used to verify the pthread_rwlock lock works
2017-04-07 07:23:14 -06:00
Gregory Nutt
2c7dff70ec
Rename CONFIG_MUTEX_TYPES to CONFIG_PTHREAD_MUTEX_TYPES
2017-03-27 09:08:00 -06:00
Gregory Nutt
531f5e1419
examples/ostest: Fix an error in last commit.
2017-03-27 08:58:23 -06:00
Gregory Nutt
a3fd7fdec0
examples/ostest: Robust mutex test needs to call pthread_mutexattr_setrobust().
2017-03-27 06:55:51 -06:00
Gregory Nutt
879d269f41
examples/ostest: Add a test of robust mutexes.
2017-03-26 14:45:48 -06:00
Gregory Nutt
ba59c15d00
examples/ostest: Add a test of setvbuf().
2017-02-09 10:58:51 -06:00
Gregory Nutt
497130f372
examples/ostest: Cannot be configured or build if CONFIG_DISABLE_SIGNALS=y
2017-01-24 09:15:42 -06:00
Juha Niskanen
b169bd4641
examples/ostest: Add new error print and modify comments in cancel test.
2017-01-24 09:01:37 -06:00
Gregory Nutt
13c158130d
OS test: Was ignoring CONFIG_EXAMPLES_OSTEST_FPUTESTDISABLE
2016-12-29 11:47:09 -06:00
Gregory Nutt
1636b48313
OS test: enhance pthread cancellation test some.
2016-12-11 07:51:22 -06:00
Gregory Nutt
5d48dd4871
examples/ostest: Add some delays to the pthread cancellation test. With deferred cancellation enabled, things happen more asynchronously
2016-12-10 16:41:16 -06:00
Gregory Nutt
8586535eb7
examples/ostest: Extend the pthread cancellation test to exercise pthread_cleanup_push() (and pthread_cleanup_pop() indirectly via pthread_cancel() and pthread_exit()
2016-12-08 09:28:49 -06:00
Gregory Nutt
3a98b97ea6
Revert "apps/examples/ostest: Skip the task_restart() test on SMP systems. This is not fully implemented."
...
This reverts commit 0ce49462d1
.
2016-11-20 07:35:22 -06:00
Gregory Nutt
0ce49462d1
apps/examples/ostest: Skip the task_restart() test on SMP systems. This is not fully implemented.
2016-11-19 11:38:49 -06:00
Gregory Nutt
a82c0202bc
examples/ostest: Eliminate some warnings
2016-10-26 07:34:30 -06:00
Gregory Nutt
468bdcf8e6
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:13:39 -06:00
Gregory Nutt
0dfe0baf2b
apps/examples/ostest: SIG_DFL is no long assignment compatible with the sa_sigaction functin pointer.
2016-06-08 18:02:37 -06:00
Gregory Nutt
badbb3ad9a
Update a comment
2016-03-22 18:14:08 -06:00
Gregory Nutt
84f453b7a1
apps/examples/ostest: Add a test of TLS
2016-03-11 14:02:00 -06:00
Gregory Nutt
6125e9376e
Standardize some naming in code section comments
2016-02-21 18:15:00 -06:00
Gregory Nutt
19efbf8b87
OS test: Mark some constants as long to avoid overflow when used the AVR8. Example, 500*1000 overflows when type int is only 16-bits, but 500*1000L avoids the overflow
2016-01-08 07:48:50 -06:00
Gregory Nutt
d5f8008931
OS test: Add a test of POSIX timers using SIGEV_THREAD. Also, clean up many warnings with building on a PC with 64-bit addresses
2015-12-30 16:29:21 -06:00
Gregory Nutt
aacfce081e
Fix several cosmetic, C coding style issues
2015-10-03 11:03:42 -06:00
Gregory Nutt
0629c5466e
Standardize the width of all comment boxes in C file
2015-10-02 17:33:30 -06:00
Gregory Nutt
e3ad56043e
Standardize naming used for public data and function groupings
2015-10-02 16:20:33 -06:00
Gregory Nutt
e9447c6058
Standardize nameing of the pre-processor definitiongs group header
2015-10-02 14:06:11 -06:00
Paul A. Patience
85a2cecb99
Simplify apps/ Makefiles by combining common logic into the Makefile fragment Application.mk
2015-09-05 15:13:03 -04:00