zephyr/samples
Robert Lubos 54eb4adff9 samples: net: echo_client: Fix bug in workqueue processing
The `start_udp_and_tcp` funcion is a blocking function, therefore it
should not be called from the system workqueue, as it would stall it.
Because it was called in such a way, the retry mechanism, which
also relied on the system workqueue did not work properly.

This commit fixes the issue, by keeping the main application processing
in the main thread, and using a semaphore to synchronize with the
connection manager.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2019-07-25 14:26:27 +03:00
..
application_development boards: arm: nrf52840_pca10056/nrf52_pca10040: enable pyocd runner 2019-07-10 12:11:46 -05:00
basic samples: servo_motor: remove whitelisting 2019-07-12 05:54:16 -07:00
bluetooth samples: hci_usb: remove whitelisting 2019-07-12 05:54:16 -07:00
boards samples: sample modified according to the changes in Zephyr macros 2019-07-18 15:16:06 +02:00
cpp_synchronization cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
display samples: add board customization for native_posix_64 2019-07-17 15:29:42 -07:00
drivers samples/drivers/spi_flash: add board overrides 2019-07-24 09:20:56 -04:00
gui samples: add board customization for native_posix_64 2019-07-17 15:29:42 -07:00
hello_world cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
mpu cleanup: include/: move flash.h to drivers/flash.h 2019-06-27 22:55:49 -04:00
net samples: net: echo_client: Fix bug in workqueue processing 2019-07-25 14:26:27 +03:00
nfc/nfc_hello cleanup: include/: move misc/byteorder.h to sys/byteorder.h 2019-06-27 22:55:49 -04:00
philosophers tests: samples: Apps shouldn't set tick rate 2019-07-02 22:52:29 -04:00
portability CMSIS v2: Work around time unit confusion 2019-07-02 22:52:29 -04:00
sensor samples: grove_temperature: cleanup whitelisting 2019-07-12 05:54:16 -07:00
shields sample/shield: add support to x-nucleo-iks01a3 shield 2019-07-08 10:07:23 -05:00
subsys samples/subsys/fs: move existing test into fat_fs 2019-07-25 06:39:55 +03:00
synchronization cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
testing/integration license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
userspace cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
xtensa_asm2 cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
classic.rst doc: restructure and create index pages 2019-02-05 07:04:40 -05:00
index.rst doc: use :zephyr_file: where appropriate 2019-03-09 09:50:27 -05:00