zephyr/subsys
Oleg Zhurakivskyy 87577cb599 net: tcp2: Implement a blocking connect
In order to implement a blocking connect, add a semaphore
and block on it in net_tcp_connect().

The semaphore is released when ESTABLISHED state is reached.

In case tcp_conn_unref() is called while waiting on the semaphore,
defer the unreference, tcp_conn_unref() will be called from
net_tcp_connect().

Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2020-07-20 13:55:22 +03:00
..
bluetooth Bluetooth: hci_ecc: Follow BT spec when public key is invalid 2020-07-20 12:48:23 +02:00
canbus
console
cpp
debug
dfu
disk
fb
fs
jwt
logging
mgmt
net net: tcp2: Implement a blocking connect 2020-07-20 13:55:22 +03:00
power
random
settings
shell
stats
storage storage: flash_map: Fix partition device retrieval 2020-07-16 11:51:46 -05:00
testsuite
tracing
usb usb: cdc_acm: re-trigger transfer for OUT endpoint on resume 2020-07-17 13:37:08 +02:00
CMakeLists.txt
Kconfig