diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-04-09 15:53:59 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-04-09 15:53:59 -0600 |
commit | 51c603c61b0bafd6d751ab17e6c5d9eefe9d2367 (patch) | |
tree | a2b2e8644b5af15ed11e7b77b45e8e019466eec7 /apps/examples/ostest/ostest_main.c | |
parent | b089e89a7a829d50a354bafe554fb5583f7263b3 (diff) | |
download | px4-nuttx-51c603c61b0bafd6d751ab17e6c5d9eefe9d2367.tar.gz px4-nuttx-51c603c61b0bafd6d751ab17e6c5d9eefe9d2367.tar.bz2 px4-nuttx-51c603c61b0bafd6d751ab17e6c5d9eefe9d2367.zip |
apps/examples/ostest: Add a test for the sigprocmask, sighold, and sigrelse
Diffstat (limited to 'apps/examples/ostest/ostest_main.c')
-rw-r--r-- | apps/examples/ostest/ostest_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/examples/ostest/ostest_main.c b/apps/examples/ostest/ostest_main.c index d36287b78..8c21af154 100644 --- a/apps/examples/ostest/ostest_main.c +++ b/apps/examples/ostest/ostest_main.c @@ -436,6 +436,12 @@ static int user_main(int argc, char *argv[]) #endif #ifndef CONFIG_DISABLE_SIGNALS + /* Verify that we can modify the signal mask */ + + printf("\nuser_main: sigprocmask test\n"); + sigprocmask_test(); + check_test_memory_usage(); + /* Verify signal handlers */ printf("\nuser_main: signal handler test\n"); |