Return-Path: X-Original-To: apmail-etch-commits-archive@www.apache.org Delivered-To: apmail-etch-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A42EF17A11 for ; Fri, 15 May 2015 15:09:20 +0000 (UTC) Received: (qmail 637 invoked by uid 500); 15 May 2015 15:09:20 -0000 Delivered-To: apmail-etch-commits-archive@etch.apache.org Received: (qmail 609 invoked by uid 500); 15 May 2015 15:09:20 -0000 Mailing-List: contact commits-help@etch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@etch.apache.org Delivered-To: mailing list commits@etch.apache.org Received: (qmail 598 invoked by uid 99); 15 May 2015 15:09:20 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 May 2015 15:09:20 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 7370BAC0E39 for ; Fri, 15 May 2015 15:09:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1679592 - /etch/trunk/binding-cpp/runtime/src/main/transport/EtchTcpListener.cpp Date: Fri, 15 May 2015 15:09:20 -0000 To: commits@etch.apache.org From: veithm@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150515150920.7370BAC0E39@hades.apache.org> Author: veithm Date: Fri May 15 15:09:20 2015 New Revision: 1679592 URL: http://svn.apache.org/r1679592 Log: Join the TcpListener thread in case of a stopWait signal Change-Id: Ic336c46c9ceecdf4fe52c3c4198f5c6b158ac7f8 Modified: etch/trunk/binding-cpp/runtime/src/main/transport/EtchTcpListener.cpp Modified: etch/trunk/binding-cpp/runtime/src/main/transport/EtchTcpListener.cpp URL: http://svn.apache.org/viewvc/etch/trunk/binding-cpp/runtime/src/main/transport/EtchTcpListener.cpp?rev=1679592&r1=1679591&r2=1679592&view=diff ============================================================================== --- etch/trunk/binding-cpp/runtime/src/main/transport/EtchTcpListener.cpp (original) +++ etch/trunk/binding-cpp/runtime/src/main/transport/EtchTcpListener.cpp Fri May 15 15:09:20 2015 @@ -233,6 +233,7 @@ status_t EtchTcpListener::transportContr close(); ETCH_LOG_DEBUG(mRuntime->getLogger(), mRuntime->getLogger().getTransportContext(), "Stop and wait command received and EtchTcpListener sets the stop flag"); status_t ret = waitDown(((EtchInt32*) value.get())->get()); + mThread->join(); return ret; }