Skip to content

Commit

Permalink
Merge branch 'main' into feature/distributed-erlang
Browse files Browse the repository at this point in the history
  • Loading branch information
bettio committed Jan 11, 2025
2 parents a3ba968 + 03dcfa5 commit 1f576a9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libAtomVM/otp_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -1910,9 +1910,7 @@ static ssize_t do_socket_recv(struct SocketResource *rsrc_obj, uint8_t *buf, siz

ssize_t socket_recv(struct SocketResource *rsrc_obj, uint8_t *buf, size_t len, int flags, term *from, Heap *heap)
{
SMP_RWLOCK_RDLOCK(rsrc_obj->socket_lock);
ssize_t result = do_socket_recv(rsrc_obj, buf, len, flags, from, heap);
SMP_RWLOCK_UNLOCK(rsrc_obj->socket_lock);
return result;
}

Expand Down

0 comments on commit 1f576a9

Please sign in to comment.