summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-10-12 14:22:42 -0500
committerJoel Sherrill <joel@rtems.org>2017-10-12 14:22:42 -0500
commit1963961794e16b1bb263cc4514cac3c7382b416a (patch)
treeca93e6a5fabffbdd22bfd9b7da6422b230982eb5
parentAdd C11 Threading Examples (diff)
downloadrtems-examples-1963961794e16b1bb263cc4514cac3c7382b416a.tar.bz2
Add examples for using the entire C11 <threads.h> API.
c11_thread01 - multiple threads, arguments, yield, sleep c11_mutex01 - mutual exclusion, blocking, timeout c11_cndvar01 - use condition variable to signal data arrival c11_key01 - per thread storage Closes #3188.
-rw-r--r--c11/README.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/c11/README.txt b/c11/README.txt
new file mode 100644
index 0000000..9d69bf0
--- /dev/null
+++ b/c11/README.txt
@@ -0,0 +1,7 @@
+This directory contains a set of examples of using the entire
+C11 <threads.h> API.
+
+c11_thread01 - multiple threads, arguments, yield, sleep
+c11_mutex01 - mutual exclusion, blocking, timeout
+c11_cndvar01 - use condition variable to signal data arrival
+c11_key01 - per thread storage