Janet B. Anderson
ca1c83bf3a
Added shared library support for cygwin and mingw builds.
2008-08-06 16:52:52 +00:00
Janet B. Anderson
ef1cd5faf5
RCS files now used for all cygwin and mingw builds.
2008-08-06 16:44:16 +00:00
Janet B. Anderson
519b33e4fb
Changes for shared library build using MinGW compiler on win32.
2008-07-29 21:11:56 +00:00
Andrew Johnson
f0811601ea
Fixed warnings on MinGW.
2008-07-29 20:47:11 +00:00
Andrew Johnson
723ea22719
MinGW defines some of these macros.
2008-07-29 20:39:26 +00:00
Andrew Johnson
a6585880f4
Fixed C++ comments in header file used from C.
2008-07-29 20:12:09 +00:00
Andrew Johnson
26e2529980
Fixed warning on Solaris.
2008-07-29 17:27:31 +00:00
Andrew Johnson
91716f766a
Make mutex exception classes derive from std::exception.
2008-07-29 17:10:15 +00:00
Andrew Johnson
ff4f3f2070
Fixed warning on Solaris.
2008-07-28 18:32:32 +00:00
Andrew Johnson
b6ee45dbab
Added virtual destructors (in most cases protected) to remove g++ warnings:
...
'class ...' has virtual functions but non-virtual destructor
2008-07-28 16:19:50 +00:00
Andrew Johnson
8a17c4b1e8
Fixed compiler warnings.
2008-07-28 16:03:34 +00:00
Andrew Johnson
94f71e16f6
Added CR/CSR support to devLib.
2008-07-23 16:37:21 +00:00
W. Eric Norum
02b87df99c
The ipToAsciiProxy thread calls upon vendor libraries which may use significant amounts of stack. Account for this by providing the thread with an epicsThreadStackBig stack.
2008-07-21 17:40:44 +00:00
Janet B. Anderson
72090c2e32
Removed duplicate epicsShareAPI in line.
2008-07-21 15:42:21 +00:00
Janet B. Anderson
b4c8de6f43
Added epicsShareFunc where necessary.
2008-07-21 14:10:56 +00:00
W. Eric Norum
7765da4293
Increase stack sizes a little.
...
Odd problems seemed to arise with smaller sizes, although the stack checker
never reported any problems.
2008-07-16 15:33:40 +00:00
Andrew Johnson
9cd14f0cc4
Send errlog output to stderr rather than stdout, from J Lewis Muir.
2008-07-10 18:04:10 +00:00
Andrew Johnson
df39142335
epicsThreadOnceOsd() must unlock mutex before calling func().
...
Required so callbackInit() can wait for its threads to start.
2008-06-24 20:59:55 +00:00
Andrew Johnson
3be3203377
Convert Inf and NaN values properly.
2008-06-12 22:44:16 +00:00
Andrew Johnson
becb4378d4
Make epicsTimeGetCurrent and epicsTimeGetEvent with epicsShareAPI
...
for backwards-compatibility reasons (someone may need this).
2008-06-11 18:56:25 +00:00
Andrew Johnson
5a0bed0407
Call cantProceed() if taskwd task fails to start.
2008-06-09 18:10:47 +00:00
W. Eric Norum
b88a1c685e
Clean up stack size specification.
2008-06-06 17:41:56 +00:00
Andrew Johnson
86bea94113
Change #! line, perl is rarely in /usr/local nowadays.
2008-05-28 20:55:40 +00:00
Andrew Johnson
8c9e5f63e5
Include generalTimeSup.h.
2008-05-27 14:15:39 +00:00
Andrew Johnson
363080071c
Fix build issues on vxWorks.
2008-05-22 20:19:34 +00:00
Andrew Johnson
1ed5eb1ad1
Major reworking of the task watchdog implementation:
...
* Added new monitoring API with insert and remove callbacks; the old API is
still supported though.
* Added report routine, callable from iocsh.
* taskwdInsert() can take a NULL tid, meaning the calling thread.
2008-05-22 17:54:19 +00:00
Andrew Johnson
4831cf2421
Changed static consts to #defines, so C code can use in static initializers.
2008-05-19 14:26:49 +00:00
Andrew Johnson
24edb594cc
Included vxWorks.h, needed for vxWorks 6.6.
2008-05-15 14:25:28 +00:00
Andrew Johnson
975c5ae4c6
General Time cleanup.
2008-05-14 18:42:26 +00:00
W. Eric Norum
e40ef4996a
Fix up free space calculation.
2008-05-11 21:28:55 +00:00
W. Eric Norum
f8f3647f1c
Use lower-overhead mechanism to determine free space.
2008-05-11 20:05:24 +00:00
Andrew Johnson
967330fcd6
Cleanup, changed task names.
2008-05-09 22:16:29 +00:00
W. Eric Norum
edb08afdc3
Use new general time registration.
...
Allow use in both statically- and dynamically-loaded environment.
2008-05-09 15:39:55 +00:00
Andrew Johnson
51800996b0
Fixed generalTime initialization issues (RTEMS incomplete).
2008-05-09 14:24:04 +00:00
W. Eric Norum
893b8b6982
Fix up initialization. Must allow recursive calls.
2008-05-08 18:14:58 +00:00
Andrew Johnson
2a34e2e464
Don't use fmod(), broken on vxWorks.
...
Use long rather than int for integer calculations.
2008-05-08 16:15:50 +00:00
Andrew Johnson
e74e839ccd
Fix initialization races.
2008-05-07 22:38:31 +00:00
Andrew Johnson
4c0015e261
Removed the unnecessary "epicsExit will be called" message.
2008-05-01 14:38:55 +00:00
W. Eric Norum
b71ebd8cc2
Don't use exclamation mark for valid output.
2008-04-30 18:14:48 +00:00
Andrew Johnson
21aed171a5
Another malloc() + bzero() => calloc()
2008-04-25 21:57:31 +00:00
Andrew Johnson
0639850d7a
Expanded tabs, replaced malloc() + bzero() with calloc().
2008-04-25 21:48:19 +00:00
W. Eric Norum
6f7156cab2
Clean up.
2008-04-18 20:30:19 +00:00
W. Eric Norum
fc85afd77c
Clean up some minor issues with differences between RTEMS/vxWorks/POSIX.
2008-04-18 19:20:50 +00:00
Andrew Johnson
a3cd917de2
General Time, from Peter Denison, Eric Norum and many others...
2008-04-18 18:39:32 +00:00
W. Eric Norum
afd028c4ff
Round sleep time to nearest tick. This is important when working with
...
high-precision time sources, such as event receivers.
2008-04-17 22:04:57 +00:00
W. Eric Norum
57005d58ae
Use new, simpler, RTEMS test harness.
2008-04-17 19:34:57 +00:00
Ralph Lange
60449e20b0
+= epicsSignalInstallSigHupIgnore (libCom/osi)
2008-04-17 18:57:07 +00:00
W. Eric Norum
7e31cb0db3
Round off sleep times -- makes timed scan threads work better when
...
high-quality time source (e.g. event receiver) is used.
2008-04-17 18:53:54 +00:00
Andrew Johnson
9d7fb60785
Added mote about deprecating epicsShareAPI.
2008-04-15 20:30:22 +00:00
W. Eric Norum
5708538d32
Back out erroneous commit.
2008-04-15 14:44:31 +00:00