752ec12261
bugfix: memmove'ed to much
2019-09-19 11:42:04 +02:00
e28bb3b0e2
epicsSockCountUnsentBytes renamed to epicsSocketCountUnsentBytes
2019-09-19 10:48:14 +02:00
64f540a64f
moved logClientSendMessage and made it static
2019-09-19 10:44:36 +02:00
db3b160f4e
fix wrong function name in comment
2019-09-19 08:54:19 +02:00
c9b670977d
sending 0 bytes helps to detect broken connections on some systems (but is undefined behavior on Linux, fails on vxWorks and is a documented no-op on Windows)
2019-09-18 09:58:28 +02:00
931054d4fd
cannot print sockets with %d in Windows, they are not small ints but maybe pointers.
2019-09-17 17:45:33 +02:00
6ffc9e17da
ask logClient socket how many bytes are still in the send queue and don't discard them in case the connection turns out broken.
2019-09-17 17:34:16 +02:00
f85454a8d6
use dynamic debug flag for logClient
2019-09-17 17:12:58 +02:00
26f6f674be
increase error message buffer size for long (Windows) error messges
2019-09-17 14:41:35 +02:00
d162337b9a
improve logClientShow to show unsent bytes on level 2 (and fix level 1)
2019-09-17 14:39:03 +02:00
49bf8bb5ec
removed unneeded include
2019-09-17 11:59:02 +02:00
2b0161d9bf
no need to delay startup only because log server is currently not available
2019-08-30 08:57:08 +02:00
9df98c1838
send pending log messages directly after connecting
2019-08-30 08:57:08 +02:00
59aa9cfe74
avoid needless memmove calls
2019-08-30 08:57:08 +02:00
709208ef5c
elimitate duplicate code in logClient
2019-08-30 08:57:08 +02:00
0a3427c835
do not discard unsent messages when log server has closed connection, instead try to send them after reconnect
2019-08-30 08:57:08 +02:00
2432878773
speed up logRestart thread termination at exit
2019-08-30 08:57:08 +02:00
62c3b0a585
don't send errlog on all logClients
2019-08-30 08:57:08 +02:00
Andrew Johnson
b2938459f8
Define pdevLibVME on non-VME RTEMS targets
2019-08-28 15:28:08 -05:00
Andrew Johnson
fd48ee9aec
Update submodules
...
Adjust comments in the embedded module CONFIG_*_VERSION files
2019-08-13 11:21:26 -05:00
Andrew Johnson
29fc49199d
Update versions after tag, set DEVELOPMENT_FLAG/DEV_SNAPSHOT
2019-07-31 14:29:18 -05:00
Andrew Johnson
841ef37820
Update version numbers for Base and internal modules
...
Clear EPICS_DEV_SNAPSHOT flag for tagging.
2019-07-31 12:11:22 -05:00
Andrew Johnson
59cffd51ae
Merge 3.15 branch into 7.0
2019-07-25 18:10:40 -05:00
Michael Davidsaver
d214d81794
CROSS_COMPILER_RUNTEST_ARCHS for non-RTEMS
2019-07-07 16:50:02 -07:00
Michael Davidsaver
c70b1a9a29
libcom: detect uclibc support for backtrace()
2019-07-06 13:43:58 -07:00
Michael Davidsaver
5b09bb6e71
Set file+line for epicsMutex
...
Makes the output of epicsMutexShowAll more useful wrt. libca.
2019-06-26 09:40:41 -07:00
Michael Davidsaver
ede52d96b8
posix show mapping of epicsMutexId and uaddr passed to futex()
...
On Linux w/ GLIBC+NTPL useful to establish mapping between
args to futux syscall and epicsMutexId (and file+line of creation).
2019-06-26 09:40:41 -07:00
Michael Davidsaver
f955199805
epicsTimerTest loosen test threshold
2019-06-26 09:38:48 -07:00
Michael Davidsaver
2af0c10470
debug epicsTimerTest
2019-06-26 09:38:48 -07:00
Michael Davidsaver
6ce8dfec01
libCom: timerQueueActive atomic exitFlag
...
quiet false positive data race
2019-06-26 09:38:48 -07:00
Michael Davidsaver
c1ab30142a
sysconf /0 paranoia
...
Seems unlikely, but avoid any possibility to divide by zero.
2019-06-26 08:59:35 -07:00
Michael Davidsaver
655c5bed92
osiClockTime Darwin doesn't use.
...
Darwin/osdTime.cpp unconditionally provides osdTimeGetCurrent()
and never calls ClockTime_Init().
2019-05-20 15:32:57 -07:00
Michael Davidsaver
2c99c36ef9
Merge remote-tracking branch 'lp-Com/timeopt' into 7.0
...
* lp-Com/timeopt:
!gtMoreThanDefault -> useOsdGetCurrent
generalTime short circuit current time
2019-05-20 13:49:10 -07:00
Andrew Johnson
71d4d3ecbd
epicsErrlogTest.c improvements
...
Instrument testEqInt() macro with caller's source line-number.
Added another epicsEvent to wait for the listeners to run.
Not guaranteed to fix all issues, but should be more reliable.
2019-05-09 15:03:56 -05:00
Michael Davidsaver
bf8ff4e5f1
!gtMoreThanDefault -> useOsdGetCurrent
2019-05-08 19:05:58 -07:00
Andrew Johnson
a9dbd4dd39
Update libcom and base version numbers, no -DEV
2019-04-23 16:07:43 -05:00
Michael Davidsaver
597393a8ee
libCom: drop CLOCK_MONOTONIC_RAW
...
Turns out this is ~10x slower to query than CLOCK_MONOTONIC
2019-03-28 09:59:24 -07:00
Andrew Johnson
a5b3157ec1
Update version numbers for libcom and database
2019-03-20 15:18:05 -05:00
Michael Davidsaver
cde682f7ba
nonEpicsThreadPriorityTest is Linux only
2019-03-18 16:08:20 -07:00
Michael Davidsaver
a2123db9fb
Merge branch 'fix_1816841_only' into 7.0
...
* fix_1816841_only:
Another hack to deal with RTEMS which is POSIX but still different
stripped-down fix for 1816841 only
2019-03-17 18:43:34 -07:00
till straumann
7f55bb0386
Another hack to deal with RTEMS which is POSIX but still different
2019-03-14 11:47:52 -07:00
till straumann
511a541f31
stripped-down fix for 1816841 only
2019-03-14 10:36:55 -07:00
Michael Davidsaver
d1149a0ba9
iocsh epicsMutexShowAll accepts 2 arguments
2019-03-11 17:53:51 -07:00
Michael Davidsaver
95cb81c286
generalTime short circuit current time
...
epicsTimeGetCurrent() is called frequently.
Unless more than the default provider is registered,
locking and going through the timeProvider list each
time is a waste.
Instead, short circuit to directly call the default
time current time provider unless a another has
been registered.
2019-03-10 16:36:54 -07:00
Andrew Johnson
8b31fba8cb
Update version numbers of embedded modules
2018-12-17 17:20:01 -06:00
Andrew Johnson
8481ae3787
Set embedded modules' SHRLIB_VERSION from CONFIG variables
2018-12-17 17:19:10 -06:00
Andrew Johnson
58aa30ab0a
Merge 3.15 branch into 7.0
...
First direct merge since 3.16 branch closed.
2018-12-14 17:05:59 -06:00
Andrew Johnson
6d5f57daf1
Merge 3.16 branch into 7.0
2018-12-12 15:17:02 -06:00
Michael Davidsaver
383b6b1c36
add aslibtest
2018-11-14 19:46:59 -08:00
Michael Davidsaver
bb19bd519e
asLib add asInitMem()
2018-11-14 19:46:54 -08:00