summaryrefslogtreecommitdiff
path: root/examples/libc/ex2.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libc/ex2.c')
-rw-r--r--examples/libc/ex2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/libc/ex2.c b/examples/libc/ex2.c
index 925f4e1f23..df8f9a26a3 100644
--- a/examples/libc/ex2.c
+++ b/examples/libc/ex2.c
@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2006-2021, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
+ */
/* The classic producer-consumer example.
Illustrates mutexes and conditions.
All integers between 0 and 9999 should be printed exactly twice,