Skip to content

Get rid of locking during UDP and TCP listen

Ondřej Surý requested to merge ondrej/remove-udp-and-tcp-listen-lock into main

We already have a synchronization mechanism when starting the UDP and TCP listener children - barriers. Change how we start the first-born child (tid == 0), so we don't have to race for sock->parent->result and sock->parent->fd.

Merge request reports