Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mpl/bind/dist/lib/isc/unix Locking protocol changed...



details:   https://anonhg.NetBSD.org/src/rev/4861c9d39f73
branches:  trunk
changeset: 952957:4861c9d39f73
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 22 01:31:51 2021 +0000

description:
Locking protocol changed again, adjust.

diffstat:

 external/mpl/bind/dist/lib/isc/unix/socket.c |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r 8d7d95bac83a -r 4861c9d39f73 external/mpl/bind/dist/lib/isc/unix/socket.c
--- a/external/mpl/bind/dist/lib/isc/unix/socket.c      Sun Feb 21 23:37:09 2021 +0000
+++ b/external/mpl/bind/dist/lib/isc/unix/socket.c      Mon Feb 22 01:31:51 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: socket.c,v 1.19 2021/02/19 16:42:20 christos Exp $     */
+/*     $NetBSD: socket.c,v 1.20 2021/02/22 01:31:51 christos Exp $     */
 
 /*
  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -3214,8 +3214,6 @@
        if (more_data)
                select_poke(sock->manager, sock->threadid, sock->fd,
                    SELECT_POKE_WRITE);
-
-       UNLOCK(&sock->lock);
 }
 
 static void
@@ -3242,8 +3240,6 @@
        if (more_data)
                select_poke(sock->manager, sock->threadid, sock->fd,
                    SELECT_POKE_READ);
-
-       UNLOCK(&sock->lock);
 }
 
 /*



Home | Main Index | Thread Index | Old Index