zephyr/samples
Andy Ross 86ac7dc10a samples/userspace/shared_mem: Fix SMP race
There was some unlocked initialization code in the "enc" thread that
would race with the "pt" and "ct" threads if another CPU was available
to run them (it was safe on UP because "enc" entered the queue first
and was cooperative, the others wouldn't run until it blocked).

Move it to main() and remove the enc_state guard variable which is no
longer doing anything.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2020-01-21 14:47:52 -08:00
..
application_development boards: remove NFFS mentions from comments/doc 2020-01-21 15:32:47 +01:00
basic samples: minimal: kconfig: Do not assign promptless MEMORY_PROTECTION 2020-01-14 11:06:24 -05:00
bluetooth bluetooth: kconfig: Do not assign promptless BT_DEBUG 2020-01-14 13:41:29 +01:00
boards console: kconfig: Do not assign promptless CONSOLE_HAS_DRIVER 2020-01-14 15:42:33 +01:00
cpp_synchronization samples & tests: Correct main() type 2019-12-16 11:27:56 +01:00
display samples: display: Move LVGL sample 2020-01-16 21:01:41 -05:00
drivers samples: display: Added support for BGR565 2020-01-20 09:21:04 -06:00
hello_world tests: fix test identifiers 2019-12-09 15:53:44 -05:00
mpu global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
net net: tcp2: Double main stack size to fix QEMU crash 2020-01-20 10:01:08 +02:00
nfc/nfc_hello cleanup: include/: move misc/byteorder.h to sys/byteorder.h 2019-06-27 22:55:49 -04:00
philosophers samples: philosophers: Disable networking 2019-12-18 10:35:15 +02:00
portability samples: cmsis_rtos_v1: Grow stack size to the maximum allowed 2020-01-20 18:33:34 -05:00
posix samples & tests: Correct main() type 2019-12-16 11:27:56 +01:00
sensor samples: sht3xd: kconfig: Do not assign promptless SHT3XD_TRIGGER 2020-01-16 07:50:05 -06:00
shields samples: shields: lmp90100_evb: add rtd sample 2020-01-09 17:27:52 +01:00
smp tests: fix test identifiers 2019-12-09 15:53:44 -05:00
subsys samples/subsys/shell/fs: remove nffs configuration 2020-01-21 15:32:47 +01:00
synchronization tests: fix test identifiers 2019-12-09 15:53:44 -05:00
testing/integration tests: fix test identifiers 2019-12-09 15:53:44 -05:00
userspace samples/userspace/shared_mem: Fix SMP race 2020-01-21 14:47:52 -08:00
video samples: video: Fix board reference name 2019-10-30 18:33:18 +01:00
classic.rst doc: restructure and create index pages 2019-02-05 07:04:40 -05:00
index.rst samples: display: Move LVGL sample 2020-01-16 21:01:41 -05:00