Commit Graph

163 Commits

Author SHA1 Message Date
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
Gregory Nutt
c11c4d6bd9 Add si_errno to siginfo_t 2015-08-14 10:12:35 -06:00
Gregory Nutt
09add96e22 Change the name of the local variable sigset to set to prevent name collisions with the function of the same name 2015-07-31 13:31:44 -06:00
Gregory Nutt
14eb3f6cdc OS test: Minor improvements to the sporadic scheduler test 2015-07-28 14:27:48 -06:00
Gregory Nutt
ae2e61c764 OS test: improve the sporadic scheduler test by waiting for a bit in the 'nuisance' thread 2015-07-27 15:52:27 -06:00
Gregory Nutt
c27364570f OS test, sporadic scheduler test: If more timers are available, use them 2015-07-27 08:10:59 -06:00
Gregory Nutt
70f1ee9dcd OS test: Sporadic test now emits a message if the max_repl configuration is too small for the test to work reliably 2015-07-26 15:34:33 -06:00
Gregory Nutt
46c3158b85 OS test: Cosmetic changes to printf output in sporadic scheduler test 2015-07-26 10:52:47 -06:00
Gregory Nutt
b0fa962e42 OS test: Sporadic test was passing an illegal value for max_repl 2015-07-25 12:47:24 -06:00
Gregory Nutt
51b645eb34 OS test: add some locking and unlocking of the scheduler to the sporadic scheduler test in order to test a few more cases 2015-07-25 12:29:22 -06:00
Gregory Nutt
e15a186530 OS test: Some extensions to the sporadic scheduler test 2015-07-24 18:16:10 -06:00
Gregory Nutt
bc4a0ec95f OS test: Make the sporadic test output more readable 2015-07-24 14:13:01 -06:00
Gregory Nutt
2d46cae060 Add a test for the sporadic scheduler 2015-07-24 13:50:31 -06:00
Gregory Nutt
e5ebfe35f6 OS test: improve synchronization for starting the round robin test 2015-07-24 13:04:40 -06:00
Gregory Nutt
6bfef5b2de os_main.c may not call waitpid() and so needs to include sys/wait.h 2015-07-10 13:32:00 -06:00
Gregory Nutt
45bc73898c Fix a missing quot mark in a Kconfig 2015-07-08 13:43:17 -06:00