Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/port/posix/bsd_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ static int wolfip_fd_is_nonblock(int public_fd)
return host_##call(user_fd, ## __VA_ARGS__); \
} else { \
int __wolfip_internal = wolfip_fd_internal_from_public(user_fd); \
pthread_mutex_lock(&wolfIP_mutex); \
while (pthread_mutex_trylock(&wolfIP_mutex) != 0) { usleep(1000); } \
Comment thread
danielinux marked this conversation as resolved.
Outdated
if (__wolfip_internal >= 0) { \
int __wolfip_retval; \
int __wolfip_nonblock = wolfip_fd_is_nonblock(user_fd); \
Expand Down
Loading