Commit Graph

3102 Commits

Author SHA1 Message Date
3b993e2f54 pick strange time stamps fix from 7.0 2023-01-27 10:09:23 +01:00
Straumann Till
07c5ad5d5a epicsMutexPriorityInversionTest.c: check __GLIBC_PREREQ(2,4) when compiling
(non-portable) CPU-affinity extensions only available in glibc 2.4 and
  higher.
2020-09-15 16:13:47 +02:00
Straumann Till
90f1ac3676 Changed epicsMutexPriorityInversionTest.cc -> .c (no C++ used) 2020-09-15 16:13:46 +02:00
till straumann
4b5d43b699 posix/osdMutex.c: print warning if PI envvar is set but PI not available or compiled in. 2020-09-15 16:13:46 +02:00
till straumann
043595ca0a Added test for mutex priority inheritance 2020-09-15 16:13:45 +02:00
till straumann
2c7dae92bc osdMutex.h: fixed multiple-inclusion guard 2020-09-15 16:13:45 +02:00
till straumann
76aa3aab01 Support run-time enabled priority-inheritance for epicsMutex, epicsEvent etc. 2020-09-15 16:13:44 +02:00
cc5084018b fix problem compiling for vxWorks 6.9 2020-09-15 16:11:48 +02:00
d94e0097a6 Got ring buffers from EPICS 7.0 for use in callbacks 2020-05-12 12:12:40 +02:00
c951229511 Got epicsSpin from EPICS 7.0 for use in in ring buffers 2020-05-12 12:11:18 +02:00
e7a300bf9e fix potential crash 2020-03-03 16:51:34 +01:00
ed1944c54b allow to add new error symbols from dynamicly loaded modules 2019-10-24 16:17:23 +02:00
b8419ec17d don't reconnect to log server unnecessarily 2019-09-04 10:27:10 +02:00
172f170230 commit d0e831 was wrong 2019-09-03 09:33:44 +02:00
d0e83116e6 merge logClient changes from 7.0.3 2019-09-03 09:30:35 +02:00
6f3e74095c update osdThread.c from ../posix while keeping thread name and LWP ID 2018-04-04 11:53:45 +02:00
44d4e47ec2 add simple calculations to macros 2018-04-04 09:41:36 +02:00
394bf30dbf use dynamic vxWorks BSP function binding because we don't know which functions are implememted in any particular BSP 2018-04-04 09:40:10 +02:00
zimoch
ec3b7c364b Put thread names in ps -L output and thread ids in epicsThreadShowAll output 2018-04-04 09:31:01 +02:00
afcb81927e catch tNTP time jumps in vxWorks 2018-03-29 13:32:27 +02:00
3f1a366291 better fix for 32 bit calc 2018-03-02 13:32:25 +01:00
76ba742563 allow unterminated conditionals in CALC 2018-02-28 16:54:12 +01:00
a2bf0f3c66 backward compatibility function wrappers 2018-02-28 16:52:34 +01:00
Andrew Johnson
713c2d5080 Fix for lp: #1747091
generalTimeGetEvent()
2018-02-02 17:47:35 -06:00
Andrew Johnson
2819d7ea3d Posix epicsEventWaitWithTimeout() max delay
Limit timeouts on Posix to max-out at 10 years.
Adds a test that will fail when that time-out hits Y2038 on
systems where time_t is still a 32-bit integer.
2017-06-14 10:01:23 -05:00
Andrew Johnson
6ef995525a Restore the use of DBL_MAX in timerQueue.cpp 2017-06-09 13:44:30 -05:00
Andrew Johnson
18dee384ec Fix tv_sec casts to use time_t, not long 2017-06-09 12:20:16 -05:00
Andrew Johnson
b369aa67f1 Use 1000 years as 'forever' in timers
DBL_MAX causes problems...
2017-06-08 21:55:12 -05:00
Andrew Johnson
c853234e01 Remove artificial 60-minute timeout limit (Posix) 2017-06-08 09:53:07 -04:00
Michael Davidsaver
57cbe61709 libCom/test: errlog test more verbose 2017-04-27 16:53:40 -04:00
Michael Davidsaver
a2ab17a782 libCom: STATIC_ASSERT use c++11 static_assert when possible 2017-04-27 16:52:33 -04:00
Andrew Johnson
e25a2964bc Fix postfix.h macro arg, document 2017-04-21 16:09:36 -05:00
Michael Davidsaver
8382367495 libCom/test: epicsCalcTest use exact postifx buffers
exposes INFIX_TO_POSTFIX_SIZE() bug
2017-04-21 16:13:18 -04:00
Andrew Johnson
4f8fd545fa Merge branch 'fix-async-dns/master' into 3.14 2017-04-17 15:52:10 -05:00
Andrew Johnson
d4552af39b Fix and test for macLib losing error status
Problem found & diagnosed by Mark Rivers.
2017-04-17 11:47:21 -05:00
Michael Davidsaver
1f90e98491 libCom/test: ipAddrToAsciiTest skip cleanup unless valgrind is possible 2017-04-15 19:34:04 -04:00
Michael Davidsaver
352fd32c45 libCom/test: add ipAddrToAsciiTest to testHarness 2017-04-12 20:30:23 -04:00
Ralph Lange
5726ca6964 libCom/test: add network libraries for Windows builds 2017-03-31 15:01:51 +02:00
Michael Davidsaver
048b75304d libCom/test: add ipAddrToAsciiTest 2017-02-25 19:08:46 -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
3e58c59377 Fix CA server bind issue from Freddie Akeroyd 2017-01-19 12:33:54 -06:00
Andrew Johnson
94397b52fc Resolve some cppcheck errors & warnings 2016-12-07 13:53:26 -06:00
Michael Davidsaver
746c739769 add epicsStrnLen()
Base currently requires only POSIX 2001 while
strnlen() is part of POSIX 2008.
2014-01-11 10:58:39 -05:00
Andrew Johnson
f1439f8b1c Fix epicsStdioTest for MS 2015 compiler 2016-11-15 09:56:42 -06:00
Andrew Johnson
1351eceead Clean up unused code warnings from Clang 2016-10-14 13:48:56 -05:00
Andrew Johnson
f73d48bb6a Apply fix for lp:1581505 2016-10-10 17:19:10 -05:00
Andrew Johnson
2fd298b440 Fixed issues with previous epicsTime.cpp changes 2016-10-05 15:11:57 -05:00
Andrew Johnson
8531da6496 Merged Ralph's add-epicstime-from-gmtm branch 2016-10-04 18:04:26 -05:00
Ralph Lange
67323441ec libCom/test: add roundtrip test for epicsTime from/to UTC struct tm conversion 2016-10-04 16:17:45 +02:00
Ralph Lange
3702401171 libCom/osi: add full epicsTime conversion from/to UTC struct tm (without timezone mechanism) 2016-10-04 16:16:42 +02:00