Commit Graph

8567 Commits

Author SHA1 Message Date
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
Jeff Hill a6957a6ec1 fixed some potential cleanup problems when there is insufficent
memory to finish creating a new client
2005-11-09 01:20:35 +00:00
Jeff Hill e268286f83 less cpu intensive for soft float cpus 2005-11-08 22:46:31 +00:00
Jeff Hill e7e46f07f5 less cpu intensive for soft float cpus 2005-11-08 22:41:31 +00:00
Jeff Hill 6f6f1d22cd better fix for mantis 111 2005-11-08 21:25:23 +00:00
Jeff Hill d50d793467 instantiate server 2005-11-08 16:18:57 +00:00
Ralph Lange c24db105b8 Clarified output message for one of the tests. 2005-11-08 13:57:17 +00:00
Jeff Hill f4acd859cc INADD_NONE:<repeater port> based UDP "disconnect" 2005-11-07 17:35:39 +00:00
Jeff Hill 77a023dc39 INADD_NONE:<repeater port> based UDP "disconnect" 2005-11-07 17:11:35 +00:00
Jeff Hill 4fee01b0c7 try INADD_NONE:0 based UDP "disconnect" on various OS 2005-11-07 17:02:20 +00:00
Jeff Hill 3dfe7043ba try INADD_NONE based UDP "disconnect" on various OS 2005-11-07 16:53:35 +00:00