Commit Graph

8577 Commits

Author SHA1 Message Date
Marty Kraimer
de797d11e2 fix win32 compiler warnings 2005-12-13 12:57:19 +00:00
Janet B. Anderson
a0e61daaac Removed epicsShareAPI from epicsStrtod. 2005-12-12 21:27:07 +00:00
Janet B. Anderson
5506587d06 Removed epicsShareAPI where not needed. 2005-12-12 21:26:01 +00:00
Andrew Johnson
225f816f0e epicsShare macro fixes from Mark Rivers (copied from the main trunk). 2005-12-12 21:25:17 +00:00
Marty Kraimer
cdda915248 o and x format should have unsigned args 2005-12-12 20:09:02 +00:00
Marty Kraimer
b283cb1fcd clean up epicsStdlib 2005-12-12 19:55:11 +00:00
Marty Kraimer
3499fbe51d get rid of epicsShareAPI; epicsStrtok_r is new; clean up epicsStdlib 2005-12-12 19:54:48 +00:00
Jeff Hill
bd14b17c94 fixed send thread blocks trying to destroy the IIU because the
callback lock was taken without using a callback lock manager
2005-12-08 16:23:15 +00:00
Janet B. Anderson
e93f9fd86e Updated path rewriting rules for various OSs. 2005-11-30 21:46:13 +00:00
Janet B. Anderson
f8527e3303 WIN32 directory specification changes. 2005-11-29 22:46:57 +00:00
Jeff Hill
5d31c721ad fixed msvc++ 8 assert failure.
I had a closer look at the MS and the POSIX doc. It appears that
there is confusion between the two related to how the arguments
are interpreted when the user buffer pointer is null. In the POSIX
doc it clearly states that the count only applies if the user pointer
isn't nill. In the MS doc it clearly states that the count is also the
size of the internally allocated buffer when the user pointer is nill.

It seems that a reasonable compromise will be to specify a buffer
size of BUFSIZ (defined by POSIX and fortunately also by windows).
2005-11-29 17:05:00 +00:00
Janet B. Anderson
f4a06313db Removed TD options in call to _fdopen for VISUAL C++ 2005. 2005-11-22 21:52:29 +00:00
Marty Kraimer
2ad879e1d1 simplify output 2005-11-22 13:45:28 +00:00
Jeff Hill
036243c9a2 made win32 stdcall consistent 2005-11-22 00:28:17 +00:00
Jeff Hill
363199adfa fixed bug occurring when interfacing with EPICS 3.11 2005-11-22 00:11:16 +00:00
Marty Kraimer
33865495c9 better checking for pthread_create 2005-11-21 21:21:12 +00:00
Marty Kraimer
533e99d33c From Benjamin Franksen 2005-11-21 21:17:15 +00:00
cvs2svn
bc0a097c18 This commit was manufactured by cvs2svn to create branch 'B3.14'. 2005-11-21 21:17:14 +00:00
Marty Kraimer
472512d0a2 epicsThreadMustCreate instead of epicsThreadCreate 2005-11-21 19:33:44 +00:00
Marty Kraimer
92f32f3c21 new test 2005-11-21 19:09:20 +00:00
Marty Kraimer
7da2de16dc Fix memory leak for priority scheduling 2005-11-21 14:17:49 +00:00
Jeff Hill
543a723851 SOCKET_SHUTDOWN_WRITE_SIDE #define no longer required 2005-11-18 23:51:34 +00:00
Jeff Hill
d53b80a61a GNU compile rrequires LL suffix on constants, borland requires no suffix 2005-11-18 00:14:40 +00:00
Andrew Johnson
8230f4b189 Set pthreadInfo->isEpicsThread in the epicsThreadCreate() retry.
This code still has a memory leak if pthread_create() returns EPERM,
which only happens on SMP Linux systems.
2005-11-17 23:15:51 +00:00
Andrew Johnson
0da934250f Leave PACT true if INP/OUT put fails. 2005-11-17 19:16:22 +00:00
Marty Kraimer
50052570e9 run test as thread 2005-11-17 15:55:15 +00:00
Marty Kraimer
f0fbae7d18 calling ca_context_destroy causes crash 2005-11-17 13:42:55 +00:00
Andrew Johnson
f0a579cca3 DSXT Bug: Don't call dsxt->del_record() more than once if there's a failure. 2005-11-16 23:37:33 +00:00
Andrew Johnson
b3092b70ec s/unistd.h/osiUnistd.h/ 2005-11-16 17:24:19 +00:00
Marty Kraimer
40f225ce87 add test for epicsThreadSetPriority 2005-11-16 14:12:43 +00:00
Marty Kraimer
48005bf4ca illegal to change priority for non-epics thread 2005-11-16 14:07:56 +00:00
Andrew Johnson
518ab0c64c Simulation mode patches from Peter Denison (Diamond) 2005-11-15 23:35:34 +00:00
Andrew Johnson
f0d4c3505f Don't cast to int to subtract pointers. 2005-11-15 22:02:44 +00:00
Andrew Johnson
1277b2aa2f Include unistd.h to remove warning. 2005-11-15 21:53:14 +00:00
Andrew Johnson
2d83858ed1 Wording improvement. 2005-11-15 21:19:44 +00:00
Jeff Hill
8ba5e2fd1c clarrified return from ca_poll, ca_pend_event 2005-11-15 20:22:28 +00:00
Andrew Johnson
cbaea39950 Reduce number of gcc warnings from generated files. 2005-11-15 20:17:59 +00:00
Marty Kraimer
990a0b3ed1 more changes for epicsAtExit handler 2005-11-15 13:15:31 +00:00
Jeff Hill
171977d01f added ca_context_detach 2005-11-14 23:28:09 +00:00
Jeff Hill
05a2ab2893 better sleep quantum estimate 2005-11-14 23:22:16 +00:00
Marty Kraimer
0809007858 add epicsAtExit handler 2005-11-14 20:12:23 +00:00
Marty Kraimer
560bb0fb35 check for ERROR not for 0 2005-11-14 20:05:21 +00:00
Jeff Hill
4613bc7d0a net bsd challenged os dont have INADDR_NONE 2005-11-14 17:06:49 +00:00
Jeff Hill
fbc257c9a2 standards unconformant C++ compilers (such as msvs 6.0) dont like
two for loops with the same varaible name in the same scope
2005-11-14 16:29:48 +00:00
Jeff Hill
f01f981e54 standards unconformant C++ compilers (such as msvs 6.0) dont like
a std:: in front of the cal to unexpected()
2005-11-14 16:18:06 +00:00
Jeff Hill
29d179401f standards unconformant C++ compilers (such as msvs 6.0) dont like
two for loops with the same varaible name in the same scope
2005-11-14 16:16:55 +00:00
Jeff Hill
343ecd29e8 removed return of void from void function which makes standards incompliant
compiler bark
2005-11-14 16:14:07 +00:00
Jeff Hill
72d92451a6 removed space in front of #else 2005-11-14 16:12:57 +00:00
Jeff Hill
f85fa7e105 support mingw 2005-11-11 01:48:59 +00:00
Jeff Hill
f4aa9c2e33 fix for mantis 153 2005-11-09 23:55:15 +00:00