1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 <2013> 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 <2013> 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: [asyn] link already open! |
From: | Dirk Zimoch <[email protected]> |
To: | [email protected] |
Date: | Fri, 09 Aug 2013 11:49:19 +0200 |
On 09.08.2013 11:42, Dirk Zimoch wrote:
On 09.08.2013 11:20, Pavel Maslov wrote:Hello all, When can this message pop up: 2013/08/09 11:03:11.051131 lambda1 lambda-ps:CURR:MAX:RBV: pasynCommon->connect() failed: 127.0.0.1:7001 <http://127.0.0.1:7001>: Link already open! 2013/08/09 11:03:11.052968 lambda1 lambda-ps:CURR:MAX:RBV: Protocol abortedThe message itself looks like coming from StreamDevice. But without more information I cannot say why the connect() call of asyn fails. At least report the port configuration and the protocol.
What StreamDevice does: pasynManager->isConnected(pasynUser, &connected); if (!connected) { status = pasynCommon->connect(pvtCommon, pasynUser); if (status != asynSuccess) { error("%s: pasynCommon->connect() failed: %s\n", clientName(), pasynUser->errorMessage); return false; } } Dear Asyn-experts: Is this wrong?At least it is a race condition. Is there any atomic way to say "Connect if not already connected" ?
Dirk