Commit Graph

2658 Commits

Author SHA1 Message Date
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
W. Eric Norum aa71115a4b Back out yesterday's mistaken commits. 2008-04-15 14:42:19 +00:00
W. Eric Norum 6254f0d730 General time changes. 2008-04-14 20:08:39 +00:00
W. Eric Norum 5e51fdaa91 Initial general time supportl. 2008-04-14 19:49:48 +00:00
W. Eric Norum 489af50c7a Preliminary general time changes. 2008-04-14 19:49:47 +00:00
Andrew Johnson fde879062d Some versions of Solaris define isinf() macro. 2008-04-14 18:50:32 +00:00
Andrew Johnson b281b453bb Added variable argument functions, mostly by Benjamin Fransken.
MIN, MAX, FINITE and ISINF can now take any number of arguments.
2008-04-10 18:06:47 +00:00
W. Eric Norum 2a9ccaf2c0 Use correct conditional. 2008-04-01 20:36:08 +00:00
W. Eric Norum e1d28a495a Allow use with pre-release version of RTEMS-4.9. 2008-04-01 18:16:29 +00:00
W. Eric Norum d91feefcac Use _Objects_Get_name_as_string if available.
Clean up some warnings.
2008-04-01 17:00:12 +00:00
Andrew Johnson e8d52af7bc Can't make epicsInt8 a 'signed char', it breaks too much stuff.
This is a problem - on some archs char is signed, on others not.
2008-04-01 15:54:01 +00:00
Andrew Johnson f21aed109c An epicsInt8 is signed, but a bare 'char' isn't necessarily. 2008-03-31 19:46:46 +00:00
Andrew Johnson 37b371e956 macLib cleanup, added support for scoped macros.
New test program for regular macros as well as the environment variable tests.
2008-03-31 19:30:17 +00:00