Michael Davidsaver
c0a4ebebff
callback: workers wake up peer if necessary.
2014-10-01 18:38:14 -04:00
Michael Davidsaver
c2631cdc8a
callback: don't track busy workers
...
wakeup unconditionally. Perhaps inefficient, but simple.
2014-10-01 18:35:42 -04:00
Andrew Johnson
f9628646d1
Make IOSCANPVT a single structure
...
Not an array of 3 io_scan_list objects.
2014-09-30 16:22:03 -05:00
Andrew Johnson
c9f7a32c82
Mark callbackParallelThreadsDefault properly
...
The definition gets epicsShareDef and may provide a value.
Additional declarations get epicsShareExtern.
2014-09-30 16:10:24 -05:00
Andrew Johnson
04848e0766
Fix problems in callbackParallelThreads()
2014-09-30 13:00:39 -05:00
Andrew Johnson
4c761eeba0
Fixes for VxWorks & RTEMS builds
...
* C++ comments are not legal in C code
* Declare scanIoTest() in epicsRunDbTests.c
2014-09-30 12:36:32 -05:00
Ralph Lange
f84b736022
ioc/db: back to old signalling policy - wake up worker thread as long as there are any sleeping
2014-09-29 10:59:00 +02:00
Ralph Lange
e7d186eaf8
ioc/db: use dbFindMenu() in callback.c
2014-09-19 13:09:52 +02:00
Michael Davidsaver
b3c1fef110
cleanup callback and callback*Test
2014-09-16 18:55:27 -04:00
Michael Davidsaver
7f7e63fee1
dbScan.c: clarify ioeventCallback
2014-08-29 15:43:16 -07:00
Ralph Lange
51c7dea070
ioc/db: make sure each priority gets at least one thread.
2014-08-28 12:30:07 -07:00
Ralph Lange
08bf6a1081
ioc/db: fix bug in callback thread initialization
2014-08-26 11:58:42 -07:00
Ralph Lange
862abba4cb
ioc/db: fix bug in callback.c
2014-08-26 10:58:59 -07:00
Ralph Lange
bd0c759af3
ioc/db: change call back queue wakeup algorithm (only wake when threads are sleeping and enough work in the queue)
2014-08-26 10:36:32 -07:00
Ralph Lange
15415b5590
Merge from parallel-cbthreads-2: return value for callbackRequest, add tests
2014-08-25 14:40:37 -07:00
Ralph Lange
ca8eda8090
Merge (cherry-pick) original parts from parallel-cbthreads branch
2014-08-25 13:40:18 -07:00
Andrew Johnson
c85bd908a3
makeBaseApp tempplate: OPT settings
...
Eric suggested mentioning the HOST_OPT and CROSS_OPT settings
in the application template's configure/CONFIG_SITE file.
2014-08-18 16:16:02 -05:00
Andrew Johnson
5e0bf53fec
epicsTypes.h: Don't use C99 types
...
The __STDC_VERSION__ >= 199901L test never succeeds
in C++, and there were issues with the epicsInt8
definition anyway (int8_t is signed, but char might
not be).
I also removed the epicsBoolean enum which we never use.
2014-08-15 12:24:31 -05:00
Michael Davidsaver
b7e46b8b02
rsrv: better error msg when listen() fails
2014-08-13 14:26:03 -04:00
Andrew Johnson
cafebf2428
Merged Ralph's fix-nan-inf-updates branch.
...
Added a few cosmetic changes en route.
2014-08-05 15:51:52 -05:00
Andrew Johnson
547a9b3ebc
Tweak some dependency rules for correctness
2014-08-05 14:03:37 -05:00
Ralph Lange
e6a883bc5f
std/rec/test: explicitly register test subroutine for subroutine record (fix build on MinGW)
2014-08-05 14:29:14 +02:00
Ralph Lange
fdb21252b0
ioc/db (recGblCheckDeadband): avoid signbit() which does not exist on older MSVC installations
2014-08-05 11:20:23 +02:00
Ralph Lange
130d98463c
ioc/db (recGblCheckDeadband): pull most common case to front
2014-08-05 11:17:29 +02:00
Ralph Lange
ded1f3572d
ioc/db: force isnan()/isinf() to be 1 (instead of non-zero)
2014-08-05 10:42:25 +02:00
Andrew Johnson
cc656981c0
MSI testing
...
When testing the msi program, don't rely on EPICS_HOST_ARCH
to find the binary executable as we may be running the tests
on a cross-arch such as linux-x86-debug.
2014-08-04 15:39:02 -05:00
Michael Davidsaver
fb3314ea45
analogMonitorTest: char array too small
2014-08-04 13:43:37 -04:00
Michael Davidsaver
73a64bc89f
quiet some warnings
...
unused variable iseq
undefined struct dbBase
2014-08-04 13:28:47 -04:00
Michael Davidsaver
96b082d3e4
fix makefile typo
2014-08-04 12:26:31 -04:00
Andrew Johnson
aedea0da37
default/osdSpin.c add missing #include "cantProceed.h"
...
Also adjusted some error messages for common style.
2014-08-02 23:15:43 -05:00
Andrew Johnson
6767f5089f
threadPool: Replaced errno.h status values with S_pool_* ones
...
ETIMEDOUT is not provided on MinGW.
2014-08-01 17:55:53 -05:00
Andrew Johnson
ab78480d54
Merged spinlockfix branch.
...
Some last-minute fixes for VxWorks build warnings.
2014-07-31 12:45:40 -05:00
Andrew Johnson
63d2d8de33
Merged cas-intf-addr-list branch.
2014-07-31 11:34:10 -05:00
Andrew Johnson
68bcc77885
Merged alarm-strings branch.
2014-07-31 10:17:24 -05:00
Ralph Lange
01dcbed948
ioc/db/test: add test for recGblCheckDeadband()
2014-07-30 13:36:26 +02:00
Ralph Lange
edafb56273
std/filters: make dbnd filter use recGblCheckDeadband()
2014-07-30 10:37:10 +02:00
Ralph Lange
f354f880cc
std/rec: make all analog type records use new recGblCheckDeadband()
2014-07-30 10:36:24 +02:00
Ralph Lange
6f41e11804
ioc/db: add recGblCheckDeadband() to recGbl library
2014-07-30 10:35:03 +02:00
Andrew Johnson
b3afbea7cf
Merged Michael's thread-pool branch.
...
Made various formatting changes, and fixed one problem in the
test program which failed a test on UP machines.
2014-07-29 16:05:24 -05:00
Andrew Johnson
41502f9525
db: Remove status message from dbpf
...
The status returned from dbPutField() can now include errors from
the record processing such as a link alarm, so it doesn't mean
what it used to and printing the error might be wrong.
Now we just return the status value.
2014-07-29 12:46:38 -05:00
Michael Davidsaver
716f2679a7
thread pool: don't use reserved names
...
Avoid global symbols with leading underscore
2014-07-29 12:21:07 -04:00
Michael Davidsaver
b1a8b2f20e
thread pool: switch thread counts to unsigned int
...
size_t is considered overly optimistic
2014-07-29 12:18:19 -04:00
Michael Davidsaver
6fee83900e
don't include errCommon.h
...
doesn't exist anymore
2014-07-29 12:06:24 -04:00
Michael Davidsaver
6d11cba513
add missing TESTFILES
2014-07-29 10:32:47 -04:00
Ralph Lange
c8946b4fc2
std/rec: fix inf handling in select record
2014-07-29 15:19:12 +02:00
Ralph Lange
633ef60514
std/rec: fix NaN/inf bug in deadband algorithm of analog records
2014-07-29 15:16:37 +02:00
Ralph Lange
d86723d62a
std/rec/test: add test for deadband mechanism of analog record types
2014-07-29 15:13:10 +02:00
Michael Davidsaver
e2461e97ff
dbLockTest: test creation of DB links
2014-07-28 14:33:17 -04:00
Ralph Lange
69e8c4b48e
std/rec: Improve subRecord error messages
2014-07-28 16:19:42 +02:00
Andrew Johnson
c710a3a898
dbStatic/dbLexRoutines.c fix error message
2014-07-27 15:41:49 -05:00