fixed situations where local host name cache is repatedly created and destroyed

This commit is contained in:
Jeff Hill
2009-02-11 00:50:28 +00:00
parent e1b8caa8d7
commit 77669d793d
8 changed files with 56 additions and 15 deletions

View File

@@ -23,7 +23,7 @@
#include "localHostName.h"
epicsSingleton < localHostName > localHostNameAtLoadTime;
epicsSingleton < localHostName > localHostNameCache;
localHostName::localHostName () :
attachedToSockLib ( osiSockAttach () != 0 ), length ( 0u )