Commit Graph

56 Commits

Author SHA1 Message Date
Andrew Johnson
821fb1302b Merged changes from 3.14 branch into 3.15 2017-04-20 16:57:08 -05:00
Michael Davidsaver
5783823e25 libCom: revise ipAddrToAscii
create multiple light-weight engines to
track transactions by engine and cancel
all transactions when an engine is released.

prior to fix for lp:1527636 this was ensured
for the last/only owner for the engine singleton.
2017-02-23 20:08:46 -05:00
Andrew Johnson
f169781de0 Merged remove-keywords-3.15 branch 2016-07-21 14:12:51 -05:00
Ralph Lange
23fd4e202b ca: Fix client bug (race condition) in ipAddrToAsciiEngine 2016-05-25 12:26:32 +02:00
Andrew Johnson
b9f0ef5158 Merge 3.14 version and add 3.15 edits 2016-05-22 14:38:18 +02:00
Andrew Johnson
f4a16a1e1e Remaining Revision-Id keywords in source 2016-05-22 05:43:09 +02:00
Andrew Johnson
5ee778b0c2 Merged changes from Base-3.14, to revno 12613 2016-02-25 14:13:40 -06:00
Michael Davidsaver
04fee51795 ipAddrToAsciiAsync.: don't try to join the daemon thread
This isn't really necessary and may unnecessarily delay
things (~10 sec. on Linux) if a query to an unreachable
DNS server is in progress.
2016-01-21 13:00:50 -05:00
Andrew Johnson
2aea693faf Merged Jeff's 3.15_libcom_from_cvs_trunk branch. 2014-08-25 16:27:18 -05:00
Andrew Johnson
502366fdc3 epicsMutex C++ API: New constructor and newEpicsMutex macro
The new constructor accepts source file & line number.
The macro passes these in.
2014-02-07 14:13:12 -06:00
Andrew Johnson
661058e43e ca: Fix client bug (race condition) in ipAddrToAsciiEngine 2016-09-02 15:12:50 -05:00
Jeff Hill
4d54b91a3a 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
2013-11-07 10:26:03 -07:00
Andrew Johnson
cec6aee81b HPUX: Delete void * operator new(size_t) methods
These were apparently needed by the HPUX compiler even though it
never actually executed them.  They are never used.
2012-04-12 11:28:23 -05:00
Andrew Johnson
2a20d48ca4 HPUX: Remove all // X aCC comments
These were added to suppress warnings from the HPUX compiler.
2012-04-12 11:13:50 -05:00
Jeff Hill
c5f15a3e17 fixed bug introduced after R3.14.9, but before R3.14.10-RC1 and R3.14.10-RC2 2008-10-21 20:26:48 +00:00
Jeff Hill
dff447028f improved fix for mantis 316 2008-09-27 01:37:01 +00:00
Jeff Hill
1ba1909bdb improved fix for mantis 316 2008-09-27 01:18:39 +00:00
Jeff Hill
32616ba5fa imprved fix for mantis 316 2008-09-26 22:12:15 +00:00
Andrew Johnson
ff4f3f2070 Fixed warning on Solaris. 2008-07-28 18:32:32 +00:00
W. Eric Norum
02b87df99c The ipToAsciiProxy thread calls upon vendor libraries which may use significant amounts of stack. Account for this by providing the thread with an epicsThreadStackBig stack. 2008-07-21 17:40:44 +00:00
Jeff Hill
94dfec0999 fixed compiler warning 2006-12-05 19:56:28 +00:00
Jeff Hill
5b6a358fab fixed gnu build issue 2006-11-29 01:07:57 +00:00
Jeff Hill
bdc071f3c5 fix for mantis 276 - EDM on OS X gets access fault in ipAddrToAsciiEngine::allocate 2006-11-28 23:45:04 +00:00
Jeff Hill
a3e0f538f7 ipAddrToAsciiTransactionPrivate free list is __not__ locked externally
so the epicsMutexNOOP non-default template parameter causes
the free list to not be locked. The free list was changed to embed a
lock/unlock around all allocate and deallocate requests.
2006-05-22 22:49:06 +00:00
Marty Kraimer
15e78067ca use epicsThreadGetStackSize is set stacksize 2004-10-18 14:29:55 +00:00
Jeff Hill
62df64a03c added missing include 2004-10-08 17:11:59 +00:00
Jeff Hill
1a31fbcdda new #include 2004-10-08 15:12:20 +00:00
Jeff Hill
ac8dc4facd fixed locking associated with the cleanup flag
(this is not a known problem, the problem was identified instead during code inspection)
2004-07-30 23:34:24 +00:00
Jeff Hill
aba3613efc include <climits> 2004-01-08 23:04:25 +00:00
Jeff Hill
36b1f9e4ff fixed bug where entry was deleted from within entry's callback 2003-09-08 17:11:15 +00:00
Jeff Hill
d5de77bc5a fixed false error detected by old gnu compiler 2003-09-02 16:22:29 +00:00
Jeff Hill
4472f60249 explicit templ instantiation for acient tornado compiler 2003-08-25 18:48:29 +00:00
Robert Soliday
bb0affc5ee Updated to workaround issue with Kylix. 2003-08-21 21:47:03 +00:00
Jeff Hill
3035e9393c upgraded API and improved shutdown procedures 2003-08-20 15:57:38 +00:00
Jeff Hill
4fb36b3104 made some improvements for SMP systems which are a good conservative design
but may not have been necessary
2003-08-09 00:02:11 +00:00
Jeff Hill
b631253c9d define pure virtual ipAddrToAsciiAsynchronous::ioCompletionNotify for
situations where the derived class's destructor is running precisely when
the io completes, but the ipAddrToAsciiAsynchronous destructor has
not yet run
2002-12-11 01:19:37 +00:00
Jeff Hill
e45a480dca changed tsDLIterBD to tsDLIter 2002-07-25 21:02:29 +00:00
Jeff Hill
097cc39a58 dont convert to an ip address when the request times out 2002-07-13 01:04:11 +00:00
Janet B. Anderson
93b0bf478d Updated license comments. 2002-07-12 21:35:43 +00:00
Jeff Hill
55675571ca fixed spelling 2002-07-08 18:47:57 +00:00
Jeff Hill
5aef71fe05 changed interface so that callback is immediate if there is no space in the queue 2002-06-27 23:54:01 +00:00
Jeff Hill
cd6df39198 changed name of guard class 2002-03-21 22:17:38 +00:00
Jeff Hill
a251b89e13 auto mutex release now requires an auto mutex 2002-02-27 23:32:44 +00:00
Jeff Hill
06ee15bbfb fixed potential deadlock (dont hold lock when calling cb) 2001-10-02 01:15:25 +00:00
Marty Kraimer
b85bdd318b increase stack size 2001-07-30 15:27:44 +00:00
Jeff Hill
03a92021a7 removed redundant parens 2001-04-19 23:50:50 +00:00
Jeff Hill
e2c318b2fb upgraded locking 2001-03-06 23:11:23 +00:00
Jeff Hill
10c1cd7569 fixed gnu warnings 2001-02-16 03:13:27 +00:00
Jeff Hill
33fa1b7ff8 changed list interface 2001-02-15 17:26:50 +00:00
Jeff Hill
57bf87beac fixed borland warning 2001-01-22 22:52:51 +00:00