| commit | e87eacacfae28881f3108f9eda95801074d7d587 | [log] [tgz] |
|---|---|---|
| author | Andrew Boie <andrew.p.boie@intel.com> | Fri Jun 02 14:08:58 2017 -0700 |
| committer | Anas Nashif <nashif@linux.intel.com> | Fri Jun 09 18:53:28 2017 -0400 |
| tree | b26becacf7f7ad93641517c55ca1ba2afcdea63e | |
| parent | 2d4a36fc1ca9fe1d4acb8360c7e6f1648fe74136 [diff] [blame] |
samples: use K_THREAD_STACK_DEFINE macros Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
diff --git a/samples/cpp_synchronization/src/main.cpp b/samples/cpp_synchronization/src/main.cpp index c95207d..fe928f0 100644 --- a/samples/cpp_synchronization/src/main.cpp +++ b/samples/cpp_synchronization/src/main.cpp
@@ -38,7 +38,7 @@ #define STACKSIZE 2000 struct k_thread coop_thread; -char __stack coop_stack[STACKSIZE]; +K_THREAD_STACK_DEFINE(coop_stack, STACKSIZE); /* * @class cpp_semaphore