[examples-v2 commit] Add examples for using the entire C11 <threads.h> API.

Joel Sherrill joel at rtems.org
Thu Oct 12 19:23:22 UTC 2017


Module:    examples-v2
Branch:    master
Commit:    1963961794e16b1bb263cc4514cac3c7382b416a
Changeset: http://git.rtems.org/examples-v2/commit/?id=1963961794e16b1bb263cc4514cac3c7382b416a

Author:    Joel Sherrill <joel at rtems.org>
Date:      Thu Oct 12 14:22:42 2017 -0500

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.

---

 c11/README.txt | 7 +++++++
 1 file changed, 7 insertions(+)

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



More information about the vc mailing list