o fixed compile errors in, and proper diagnostic from, casPVI.cc

o suprressed some compile time warnings in bucketLib.c
o cleaned up cxx templates README
o removed use of tsMinMax from libCom in favor of the standard library 
     (calls to  tsMinMax still exist in other components in base, but they are being removed)
o removed sharable library export of certain private member functions from class fdManager
o fixed aToIPAddr to correctly lookup all of the different IP addresses string types on all OS types
    independent of the OS interfae variations
o removed use of inet_aton from vxWorks implementation of hostToIPAddr
   o this function is for converting a host name to an ip address _only_
   o the aToIPAddr wrapper is supposed to do the dotted ip ascii string to ip address structure 
   conversion independent of OS spoecific interface variations, when it works correctly
o fixed some spelling issues in comments
o added additional optimizations for processors w/o floating point ALU to addNanoSec in epicsTime
o removed tabs and junk comments from win32 osdProcess.c
o moved PLL update in win32 osdTime.c from timer to a dedicated thread
o added missing epicsExportShared symbols define to osiNTPTime.c
o fixed server ctor should not modify arguments of its caller in blockingSockTest
o removed sunpro specific ifdef nolomger needed from epicsTimeTest.cpp
This commit is contained in:
Jeff Hill
2013-11-07 10:26:03 -07:00
parent 16c252d8aa
commit 4d54b91a3a
16 changed files with 432 additions and 316 deletions

View File

@@ -21,20 +21,17 @@
// 1) This library is not thread safe
//
//
// ANSI C
//
#include <errno.h>
#include <string.h>
#include <algorithm>
#define instantiateRecourceLib
#define epicsExportSharedSymbols
#include "epicsAssert.h"
#include "epicsThread.h"
#include "tsMinMax.h"
#include "fdManager.h"
#include "locationException.h"
using std :: max;
epicsShareDef fdManager fileDescriptorManager;
const unsigned mSecPerSec = 1000u;
@@ -261,9 +258,9 @@ void fdRegId::show ( unsigned level ) const
//
// fdManager::installReg ()
//
epicsShareFunc void fdManager::installReg (fdReg &reg)
void fdManager::installReg (fdReg &reg)
{
this->maxFD = tsMax ( this->maxFD, reg.getFD()+1 );
this->maxFD = max ( this->maxFD, reg.getFD()+1 );
// Most applications will find that its important to push here to
// the front of the list so that transient writes get executed
// first allowing incoming read protocol to find that outgoing