Andrew Johnson
072b449bb1
libCom: Fixed epicsEvent issues on Win32 and cygwin.
...
* Removed all epicsShareAPI decorations
* Return value from Win32 epicsEventTrigger() inverted
* Return OK from posix epicsEventTrigger() omitted.
2011-02-08 14:17:47 -06:00
Andrew Johnson
77192b3228
libCom: Reworked the epicsEvent APIs
...
* Renamed the enum epicsEventWaitStatus to epicsEventStatus
* Defined epicsEventWaitStatus as a macro for epicsEventStatus
* Renamed epicsEventWaitOk to epicsEventOk
* Renamed epicsEventWaitError to epicsEventError
* Defined epicsEventWaitOK and epicsEventWaitError as macros
* Added epicsEventTrigger(id) which triggers an event and returns OK or an
error status if the underlying OS primitives report an error
* Added epicsEventMustTrigger(id) which halts on error
* Defined epicsEventSignal(id) as a macro for epicsEventMustTrigger(id)
* Added a new C++ method epicsEvent::trigger() which throws an
epicsEvent::invalidSemaphore in the event of an error
* epicsEvent::signal() makes an inline call to epicsEvent::trigger()
* epicsEventWait() and epicsEventWaitWithTimeout() now return an error
status if the underlying OS primitives report an error
* All the epicsEventMust...() routines are now implemented in the common
libCom/osi/epicsEvent.cpp source file, and call cantProceed() instead of
mis-using assert()
* Implemented epicsEventShow() on Posix
2011-02-08 12:02:08 -06:00
Janet Anderson
a2a00c7c91
Make cross builds depend on host build only if -j option and make > 3.81
2011-01-19 15:27:17 -06:00
Jeff Hill
5a11866431
when finished waiting for a thread to exit, signal the event in case other threads are waiting also
2011-01-14 18:01:53 -07:00
Jeff Hill
253036c36c
o committing merge of r3.14 trunk change
...
o fixed spelling and other cosmetic changes
2011-01-14 18:00:02 -07:00
Jeff Hill
793639f4da
fixed last time compare in PLL drift factor update loop
2011-01-14 17:56:49 -07:00
Jeff Hill
a2c87268f5
in disconnectAllChannels mark channels as unassigned to any list because in some unusual situations (abrupt shutdown) the channels are not immediately assigned to another list
2011-01-14 17:53:33 -07:00
Andrew Johnson
04800ac6c5
Merged large array element count fix from 3.14 branch.
2011-01-13 16:29:22 -06:00
Jeff Hill
a52b995ca2
rsrv: Fixed large array element count bug
...
Reverted commit 12095.2.5 which introduced an incorrect optimization.
Fixes:701673
2011-01-13 16:21:31 -06:00
Jeff Hill
2af392a099
fix for bug 701673 at launchpad (wrong native element count for large arrays)
2011-01-12 15:41:33 -07:00
Andrew Johnson
cddd8d9563
Merged errlog fix from 3.14 branch.
2011-01-07 10:38:58 -06:00
Michael Davidsaver
6170dc9406
libCom: Fix errlogPrintf() assert fail at shutdown
...
If errlogPrintf() gets called during shutdown, it can cause a
recursive assert failure.
Fixes lp:693534
2011-01-07 10:24:31 -06:00
Michael Davidsaver
260684cb32
Update YACC rules
...
Use '-b' argument of antelope to control generated file name
for safe parallel builds.
Move conditional into command so that it is possible to build
parsers which generate a header in the same directory as parsers
which do not. Allow YACCOPT per target, but default to global.
2010-12-20 10:48:12 -05:00
Michael Davidsaver
39a2858f84
Fix YACC parallel build
...
antelope now support an argument to modify the output
file name. Use this it is possible to safely build several
parsers in the same directory.
2010-12-17 17:32:51 -05:00
Michael Davidsaver
b18cacc216
Reorganize src/Makefile
...
Group entries by "Module"
2010-12-17 14:26:24 -05:00
Michael Davidsaver
4910c76925
move alarm.h to libCom/misc
2010-12-17 14:05:59 -05:00
Michael Davidsaver
128b730c71
libasIoc no longer includes asHost
2010-12-17 13:33:35 -05:00
Michael Davidsaver
2cf6f43c5f
Split up src/util
...
Move log server into libCom with the log client.
Move caRepeater init script and ca_test into ca/client/
2010-12-17 12:21:29 -05:00
Michael Davidsaver
b52927e66c
Move asHost to libCom/as
2010-12-17 11:50:52 -05:00
Andrew Johnson
6c7065f81a
Merged tools fix from 3.14 branch.
2010-12-16 17:07:30 -06:00
Andrew Johnson
23daca46a1
tools: More back-slash escape fixes
...
Thanks to Stephen Norum for pointing most of these out and
testing the patch.
2010-12-16 17:02:15 -06:00
Michael Davidsaver
31533ba62e
Fixup Makefiles
...
Adjust TOP and paths
2010-12-16 17:05:05 -05:00
Michael Davidsaver
2a36a3906d
Stage 1 reorganization
...
Directory moves.
src/RTEMS/ => src/libCom/RTEMS/
src/as/ => src/ioc/as/
src/bpt/ => src/ioc/bpt/
src/ca/ => src/ca/client/
src/cap5/ => src/ca/client/perl/
src/cas/ => src/ca/legacy/pcas/
src/catools/ => src/ca/client/tools/
src/db/ => src/ioc/db/
src/dbStatic/ => src/ioc/dbStatic/
src/dbtools/ => src/ioc/dbtemplate/
src/dev/softDev/ => src/std/dev/
src/dev/testDev/ => src/std/test/
src/excas/ => src/ca/legacy/pcas/ex/
src/gdd/ => src/ca/legacy/gdd/
src/makeBaseApp/ => src/template/base/
src/makeBaseExt/ => src/template/ext/
src/misc/ => src/ioc/misc/
src/rec/ => src/std/rec/
src/registry/ => src/ioc/registry/
src/rsrv/ => src/ioc/rsrv/
src/softIoc/ => src/std/softIoc/
src/toolsComm/ => src/libCom/tools/
2010-12-16 15:15:52 -05:00
Andrew Johnson
41c12475ec
Merged registry fix from 3.14 branch.
2010-12-14 15:14:24 -06:00
Andrew Johnson
f9ebe082ff
registry: Escape back-slashes in bldTop string literal on Win32.
2010-12-14 15:05:26 -06:00
Andrew Johnson
9a831f9dc5
libCom: Simplify libCom/Makefile by splitting into parts
...
Each SRC_DIR gets its own Makefile fragment, and where it needs
private build rules a RULES files.
If this pattern gets used elsewhere we could automate the include
lines (search $(SRC_DIRS) for Makefiles and RULES files?).
2010-12-10 15:23:42 -06:00
Andrew Johnson
877242d038
configure: Deleted CONFIG_COMPAT (3.13 compatibility)
2010-12-10 15:15:37 -06:00
Andrew Johnson
51578959d4
dev: Replaced callocMustSucceed() with calloc()
...
Make the *iSoftCallback devices allocate a single buffer for private
storage instead of several, and cope with calloc failures without
suspending the IOC thread.
2010-12-01 15:14:09 -06:00
Andrew Johnson
26f6eabdf5
dev: Rename notifyInfo structure to devPvt.
2010-11-30 17:32:09 -06:00
Andrew Johnson
558a039a75
Removing old 3.14 and 3.13 notes.
2010-11-27 21:06:40 -06:00
Andrew Johnson
055d312519
Merged deprecations work.
2010-11-24 16:28:57 -06:00
Andrew Johnson
7c9f197e05
configure: Set minor version number to 15
2010-11-24 16:22:45 -06:00
Andrew Johnson
dc76951945
configure: Set EPICS_DEV_SNAPSHOT back to -DEV
2010-11-24 16:18:25 -06:00
Janet Anderson
253fd8109b
R3.14.12
2010-11-24 14:50:38 -06:00
Andrew Johnson
fd4b34be8f
docs: Added a couple more LP bug fixes to the Release Notes.
2010-11-24 14:35:35 -06:00
Andrew Johnson
23c7e64490
rec: Fix calc & calcout get_precision()
2010-11-24 13:35:04 -06:00
Ralph Lange
3ca705752a
catools: Fix help text for "-s" option (also in CA RefMan)
2010-11-24 13:31:47 -05:00
Andrew Johnson
2069889347
docs: Update notes and comments about readline settings.
2010-11-22 10:40:49 -06:00
Andrew Johnson
04085d340b
configure: Link with libdl on Solaris 8 and 9 (but not 10).
2010-11-19 16:38:46 -06:00
Andrew Johnson
05cd81a5d5
RTEMS: Removed RTEMS/base directory.
...
All files were moved up one level.
2010-11-17 16:55:22 -06:00
Andrew Johnson
bc7e87b961
RTEMS: Warning cleanups from Eric.
2010-11-17 16:30:32 -06:00
Andrew Johnson
81d155c98b
documentation: Fixed typos and enhanced Release Notes a little.
2010-11-17 13:31:32 -06:00
Andrew Johnson
512e14e4b7
documentation: Added links to the bugs marked Fix Committed in LP.
2010-11-15 18:02:46 -06:00
Andrew Johnson
c503a03f37
libCom/errlog: Clean up possible problem at shutdown.
...
Don't use epicsMutexMustLock() in msgbufGetFree().
When we're shutting down, the pvtData.msgQueueLock gets destroyed.
This makes msgbufGetFree() return NULL if the lock is dead.
The epicsMutexMustLock() routine asserts(), which recurses...
2010-11-15 15:46:40 -06:00
Janet Anderson
fb493a064c
R3.14.12-rc1-DEV
2010-11-15 14:28:03 -06:00
Janet Anderson
e406440316
R3.14.12-rc1
2010-11-15 13:59:06 -06:00
jba
94a48d23d0
Set HDEPENDS_METHOD to CMD which was overidden by CONFIG.gnuCommon.
2010-11-15 13:43:17 -06:00
jba
cf18208579
Added and removed include files.
2010-11-15 11:27:17 -06:00
Janet Anderson
7cf01b091b
Removed unneeded include line.
2010-11-15 10:31:16 -06:00
Janet Anderson
e1c1dd45a6
Added include lines for host build CONFIG_SITE files.
2010-11-14 19:49:17 -06:00