When DTLS client was added to `poll` before/during the handshake, it could throw errors and in some circumstances (when polling thread was cooperative and had higher or equal priority to the handshake thread) could lead to a deadlock in the application. Prevent that, by blocking on handshake semaphore instead of fifo. Poll will start using fifo for data poll only after handshake is complete. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| ip | ||
| l2 | ||
| lib | ||
| buf.c | ||
| CMakeLists.txt | ||
| hostname.c | ||
| Kconfig | ||
| Kconfig.hostname | ||
| Kconfig.template.log_config.default.net | ||
| Kconfig.template.log_config.net | ||