Commit Graph

2252 Commits

Author SHA1 Message Date
W. Eric Norum
d41312bac5 Fix warning. 2004-08-12 13:38:17 +00:00
W. Eric Norum
012f44ff48 Fix convertDoubleToWakeTime warning. 2004-08-12 13:29:29 +00:00
W. Eric Norum
e3e3737a71 Block signals in all but the main thread. 2004-08-11 21:37:55 +00:00
Jeff Hill
73dd387f05 moved setThreadName() out so that it could use C++ exceptions instead of
windows structured exceptions (which are not compiler portable)
2004-08-11 00:46:38 +00:00
Jeff Hill
2d613ba5d0 fixed DLL export 2004-08-11 00:46:12 +00:00
Marty Kraimer
83adcfbaea implement atexit to cleanup 2004-08-03 18:17:56 +00:00
Jeff Hill
ac8dc4facd fixed locking associated with the cleanup flag
(this is not a known problem, the problem was identified instead during code inspection)
2004-07-30 23:34:24 +00:00
Marty Kraimer
8148784a20 exitWait ( double delay ) => exitWait (const double delay ) 2004-07-16 12:53:56 +00:00
Marty Kraimer
12b20f2398 More changes for OkToBlock 2004-07-16 11:33:53 +00:00
Marty Kraimer
4324145435 dont printf unless pvtData.toConsole 2004-07-15 14:04:29 +00:00
Marty Kraimer
1b20ea0e6a wrong logic on msgbufGetFree(isOkToBlock) 2004-07-14 13:22:28 +00:00
Marty Kraimer
629b14d3d4 epicsThreadIsOkToBlock epicsThreadSetOkToBlock only for calling thread 2004-07-13 14:49:18 +00:00
Marty Kraimer
f54d1ca30a epicsThreadIsOkToBlock epicsThreadSetOkToBlock only for calling thread 2004-07-13 13:35:35 +00:00
W. Eric Norum
4d5213f609 Fix typo. 2004-07-12 16:15:42 +00:00
W. Eric Norum
3d1dfa5dc6 Simplify printf ==>> epicsStdoutPrintf redefinition. Use __printf__ in
GCC attribute specifier to avoid conflict.
2004-07-12 16:00:48 +00:00
Marty Kraimer
975a1af43b fix OkToBlock 2004-07-09 18:19:18 +00:00
Marty Kraimer
f2fc8f8838 ShellContext=>OkToBlock 2004-07-09 17:53:54 +00:00
Marty Kraimer
e9f54b70d9 if shellContext call printf from initial thread 2004-07-09 16:06:51 +00:00
Marty Kraimer
b97efc9f7d implement ShellContext 2004-07-09 16:05:53 +00:00
Marty Kraimer
23d4d7f790 printf always becomes epicsStdoutPrintf 2004-07-09 13:35:12 +00:00
Marty Kraimer
ad878fc71d printf now overridden 2004-07-08 20:48:35 +00:00
Marty Kraimer
51a8b2ec98 more changes to make override of printf work 2004-07-08 20:47:00 +00:00
Marty Kraimer
6669549c68 override printf 2004-07-08 20:17:03 +00:00
Marty Kraimer
55b22facee include epicsStdio 2004-07-08 20:16:36 +00:00
Marty Kraimer
77a8aa677a printf => epicsStdioPrintf 2004-07-08 18:10:05 +00:00
Marty Kraimer
cb430154d0 add test of epicsGetStdout/epicsPutStdout 2004-07-08 12:08:14 +00:00
Marty Kraimer
cb34e16385 added epicsGetStdin/epicsSetStdin and stdout and stderr 2004-07-08 11:55:46 +00:00
Marty Kraimer
f212fae267 split epicsStdio into common and osdStdio portions 2004-07-07 16:03:51 +00:00
Andrew Johnson
0f7189d62b This problem was reported by Kate Feng and Stephanie Allison. 2004-07-02 23:09:13 +00:00
W. Eric Norum
2b21145d19 Fix int/pointer conversion warnings. 2004-06-17 04:07:34 +00:00
W. Eric Norum
6a1ea9df6a Add missing include. 2004-06-17 01:12:58 +00:00
W. Eric Norum
ec29674d06 Fix missing format. 2004-06-17 01:12:40 +00:00
W. Eric Norum
6fe68a0cb3 Fix printf args/formats. 2004-06-17 01:10:59 +00:00
Andrew Johnson
b9fa2e7515 More string termination bugs, this time missing terminators. 2004-06-16 19:10:11 +00:00
W. Eric Norum
58a741d845 Clean up -- use epicsStrDup instead of ad-hoc allocation. 2004-06-16 13:21:52 +00:00
Andrew Johnson
f291862044 Fixed dbLoadTemplates oops! Environment variables tests don't exercise the
non-dirty path as much...
2004-06-15 19:07:51 +00:00
Andrew Johnson
7035e0f475 Replaced macErrMessage macros with errlogPrintf
Fixed 2 possible buffer overflow bugs
Added an entry type string for error/warning messages
Implemented default values in macro expansions $(name=default)
Improved usefulness of error reporting
2004-06-11 15:40:14 +00:00
W. Eric Norum
7c5e384d08 Cosmetic typo. 2004-06-04 19:51:23 +00:00
Andrew Johnson
751e52a314 Fix some warnings on solaris-sparc. 2004-06-02 20:55:09 +00:00
Andrew Johnson
becd80c4d8 Patch from Jeff Hill, fixes a Tornado 2.2 build problem. 2004-06-02 20:43:21 +00:00
Andrew Johnson
7366f7359c Added final call to errlogFlush(), needed for solaris-sparc-gnu for some
unknown reason - without it, the program doesn't always exit properly.
2004-05-28 18:17:25 +00:00
Jeff Hill
ae5c8365d2 builds now on tornado 2004-05-27 14:31:24 +00:00
Ralph Lange
987f598804 Relative (percent) error -> absolute; units -> SI 2004-05-26 11:04:50 +00:00
Jeff Hill
5ecac228c6 fixed large new size that throws an exception 2004-05-25 17:27:23 +00:00
Jeff Hill
51a1d5991d when testing new failure use max for type size_t instead of LONG_MAX 2004-05-25 14:45:22 +00:00
W. Eric Norum
4818d705a5 HPUX needs to use SIGALRM and so can't use the POSIX version. 2004-05-18 17:36:31 +00:00
Andrew Johnson
2bef3a2d08 Added two new envParams and converted iocsh to use these instead of getenv() 2004-05-17 21:40:10 +00:00
Andrew Johnson
267e352bb5 Fix problem introduced by Win32 fix, do it properly. 2004-05-17 21:07:10 +00:00
Janet B. Anderson
22df40f776 Added chomp for win32 builds. 2004-05-17 14:27:11 +00:00
W. Eric Norum
32d48f7dcd Clean up system-call-interrupt mechanism. 2004-05-14 13:36:01 +00:00