6cd22d4efe
Don't call errlogPrintf() in epicsThreadGetOsiPriorityValue()
Andrew Johnson2010-05-14 16:49:32 -05:00
0666207393
Removed comment about ellfree @Windows in udpiiu.cpp (suggested by Jeff).
Ralph Lange2010-05-14 09:34:40 -04:00
e9593e4b6c
Run epicsMessageQueueTest last, since it takes 5 minutes.
Andrew Johnson2010-05-05 15:43:58 -05:00
831f48e719
Fix the macLib buffer overflow issue, Bug 551909. This is mostly Eric's patches, without the valend name change.
Andrew Johnson2010-05-04 15:43:20 -05:00
5868aae543
Define EPICS_THREAD_ONCE_DONE properly on RTEMS.
Andrew Johnson2010-05-04 14:39:37 -05:00
12dc840eda
Don't print anything from epicsThreadShow() when tid=0. Also don't pass level > 1 to vxWorks taskShow() routine.
Andrew Johnson2010-05-03 17:28:04 -05:00
7f534cbc74
Rename 'thread' iocsh command to 'epicsThreadShow'.
Andrew Johnson2010-05-03 17:26:41 -05:00
50d755a79f
Fix compiler warning about missing sentinel in execlp() call.
Andrew Johnson2010-05-03 12:29:13 -05:00
d192f51858
Don't use back-tick chars as open quotes, they aren't any more.
Andrew Johnson2010-04-28 17:29:04 -05:00
618e189898
'make cvsclean' should delete old editor backup files too. Not that we're using CVS for Base any more...
Andrew Johnson2010-04-28 17:19:36 -05:00
6142ff3ece
Steve Hartman (ORNL) says vxWorks 6.7 has nm back in GNU_BIN. Hopefully it will stay there from now on.
Andrew Johnson2010-04-27 17:53:40 -05:00
b4be728539
cvtFastPerform measures performance, it doesn't do functional testing. * Cleaned up some warning messages in it on darwin * Removed it from the epicsRunLibComTests function.
Andrew Johnson2010-04-26 17:19:10 -05:00
c4d9293c79
Rewrite of epicsThreadOnce(); detects recursion on all archs.
Andrew Johnson2010-04-26 17:16:06 -05:00
6ece3235c9
Added libCom/test code for epicsThreadOnce() implementations. Also fixed subsystems that were not using epicsThreadOnce correctly.
Andrew Johnson2010-04-26 15:48:42 -05:00
c5a27fa32e
Rework epicsThreadOnce() using ideas from Michael Davidsaver. An epicsThreadOnceId is now an epicsThreadId. During initialization, it is set to the thread running the init routine which can now detect a recursive initialization attempt and suspend. EPICS_THREAD_ONCE_INIT is still zero, the implementations now define a new private value for EPICS_THREAD_ONCE_DONE. This is deliberately not made public.
Andrew Johnson2010-04-26 15:38:11 -05:00
32e34f536c
Move STATIC_ASSERT statements. This macro can only be used where a variable declaration is allowed, the vxWorks compiler objects otherwise.
Andrew Johnson2010-04-20 17:13:54 -05:00
be978d6499
Fixed issue "TCP Nameserver Connection Down Blocks All Callbacks" and cleaned up the SearchDest list / TCP circuit relation * Pulled out tcpiiu::SearchDestTCP to have cac create the SearchDest independent from the TCP circuit * Reorganized the relation between the SearchDestTCP and the TCP circuit: - SearchDest stays always on the cac list - TCP connection going down sets SearchDest inactive and SearchDestTCP's circuit member to NULL - Next seach request creates the new TCP circuit and sets SearchDestTCP's member, but leaves SearchDest inactive - Successful connect sets SearchDest active * ReceiveThread releases the cac mutex before going to sleep in connect loop
Ralph Lange2010-04-15 17:06:16 -04:00
20483795e4
Remove "dbRecordHead: tempList not empty" errors. Loading a .db file that uses an unknown record type leaves items on the parser's tempList. This patch empties that list when the error is reported so future dbLoadRecords() commands can run.
Ron SluiterandAndrew Johnson2010-04-12 11:31:24 -05:00
c185274de8
Merged Michael Davidsaver's 'rec-init' branch.
Andrew Johnson2010-04-09 16:28:53 -05:00
a0e868e2e1
Make SearchDest.h include all the headers it needs
Ralph Lange2010-04-09 10:59:57 -04:00
d539db4053
Fix for: TCP Nameserver Connections Do Not Reconnect
Ralph Lange2010-04-09 10:38:18 -04:00
82551fd175
Added EPICS_CA_NAME_SERVERS paragraph. Fixed lots of minor issues (unprintable characters).
Ralph Lange2010-04-07 17:15:39 -04:00
23612a7afe
Merged Codeathon 2008 changes (10292..10293 on cvs-trunk branch). * Fixed conflicts until base compiles * COMPLETELY UNTESTED
Ralph Lange2010-04-06 17:59:35 -04:00
526cfdc9e7
Warn if the IOC's TOP changed since building. If the IOC's registerRecordDeviceDriver routine sees a different path to TOP than the one used at build-time, we tell the user.
Andrew Johnson2010-03-08 17:31:19 -06:00
f8e95a001b
Ensure EPICS_HOST_ARCH is defined. Added support for := and ?= assignments. Warn when include files not found.
Andrew Johnson2009-12-22 23:55:02 +00:00
023cf2c548
Added redirection support for puts() and putchar().
Andrew Johnson2009-12-22 23:47:19 +00:00
b55cad9c16
Disable "redo last put on reconnection" for STRING writing to ENUM.
Andrew Johnson2009-12-22 23:43:52 +00:00
be538cfe1f
Flag adjustments, from someone who has one...
Andrew Johnson2009-12-22 23:36:56 +00:00
23e4635d17
Added VX_GNU_VERSION_6.7 definition. For v6.7, added "-DBSD=44" to get correct network interface structure.
Janet B. Anderson2009-12-01 15:51:41 +00:00
cec444b83c
Use hdepends command to generate header file dependancies for Darwin because Darwin has multiple -arch compiler flags.
Janet B. Anderson2009-11-25 18:24:09 +00:00
c09b0cba32
Remove extra RANLIB command after installation of archive libraries.
Janet B. Anderson2009-11-25 17:41:55 +00:00
d04e20e91b
Remove SOURCE_C*FLAG definitions. Use COMPILER_C*FLAGS instead.
Janet B. Anderson2009-11-25 17:36:27 +00:00
7c6afa76a4
Use compiler flags for header dependency file generation when possible.
Janet B. Anderson2009-11-25 17:26:51 +00:00
d4afa2528d
Use compiler flags for header dependency file generation when possible.
Janet B. Anderson2009-11-25 17:15:47 +00:00
d0466179b0
dbNameToAddr() needs to adjust paddr->field_size when a $ modifier is used.
Andrew Johnson2009-11-18 16:55:04 +00:00
e83182e812
Don't use -r for testing the existance of optional files; it doesn't always work on Cygwin, and causes much head-scratching. Better to let the open die with an error if the file exists but is unreadable.
Andrew Johnson2009-11-12 17:28:23 +00:00
8c6f940e1f
Improve warning message, suggest using -V flag.
Andrew Johnson2009-10-28 19:47:00 +00:00
0164402bad
Need epicsVersion.h to support macEnvExpand() properly.
Andrew Johnson2009-10-28 19:30:02 +00:00
b8ccd30d77
Make certain that long strings are zero-terminated. Allow subscriptions of length zero, means native size.
Andrew Johnson2009-10-05 20:31:12 +00:00
be1b5c6390
Make it easier to select which if any curses library to link with for readline.
Andrew Johnson2009-09-29 19:00:49 +00:00
b8a2e64601
Added a couple of COMMANDLINE_LIBRARY synonyms for READLINE
Andrew Johnson2009-09-29 18:58:04 +00:00