Re: Are sockets thread safe? #networking

Lubos, Robert



Yes, socket API is thread safe.





From: users@... <users@...> On Behalf Of mbarrett via
Sent: środa, 22 września 2021 20:11
To: users@...
Subject: [Zephyr-users] Are sockets thread safe? #networking


I would like to open multiple TCP sockets in different threads, but before diving in and writing code I thought I would check and see. Are sockets thread safe? Each thread would have sole access to the socket.


Join to automatically receive all group messages.