ITS#8725 Avoid listener thread startup race

Typically only shows up under valgrind, not in regular runs
This commit is contained in:
Howard Chu 2017-02-09 17:20:28 +00:00 committed by Howard Chu
parent 8b1fb962fc
commit 68e064ca84

View file

@ -2421,6 +2421,7 @@ loop:
if ( lr->sl_sd == AC_SOCKET_INVALID ) continue;
if ( DAEMON_ID( lr->sl_sd ) != tid ) continue;
if ( !SLAP_SOCK_IS_ACTIVE( tid, lr->sl_sd )) continue;
if ( lr->sl_mute || lr->sl_busy )
{