Commit Graph

14729 Commits

Author SHA1 Message Date
Jeff Hill 9fc48c9a6b always arm the send independent of how many messages are placed
in the out buf. The send will not arm if the out buf is empty.
2009-08-13 23:51:40 +00:00
Jeff Hill e4075da4d7 o added new ioQue so the server will not wedge one of its clients
when simultaneouly in flow control mode and also asynchronous io
postponed mode.
o simplified the status from the process func because callers should
not need to know how many messages have been sent
2009-08-13 23:49:59 +00:00
Jeff Hill 8ace886cfe o added new ioQue so the server will not wedge one of its clients
when simultaneouly in flow control mode and also asynchronous io
postponed mode.
o simplified the status from the process func because callers should
not need to know how many messages have been sent
2009-08-13 23:42:37 +00:00
Jeff Hill 6c61c0de34 signal the io blocked list each time that server centric async io completes 2009-08-13 23:38:41 +00:00
Jeff Hill e581e88223 simplified the return from eventSysProcess because callers should not need to
know how many messages were sent
2009-08-13 23:37:30 +00:00
Jeff Hill f4cbdec5ee removed io blocked list signal because the base class does not
know if the blocked list is with the pv or the server
2009-08-13 23:32:18 +00:00
Jeff Hill b344841365 fixed the following issues with detection of flow control mode
o the flow control contig frame thresh should be based on max array size
o it appears that the wakeup mechanism for the send thread, who sends
the flow control on/off messages was broken
o looking at full buffers isnt a perfect detection scheme compared to
the simpler approach of just checking to see if bytes are pending in
the socket before calling recv
2009-08-13 23:29:02 +00:00
Jeff Hill b867dabad0 cache the client ctx ref prior to calling callback in case they delete the
channel in the callback
2009-08-13 22:46:47 +00:00
Jeff Hill 0cea525682 destroy putCallback prior to calling callback in case they delete the
channel in the callback
2009-08-13 22:44:30 +00:00
Jeff Hill 2df7da052a destroy getCallback prior to calling callback in case they delete the
channel in the callback
2009-08-13 22:43:21 +00:00
Jeff Hill 59b820d2f5 added missing epicsShareExtern 2009-08-13 22:42:05 +00:00
Jeff Hill 3fda8dc2b0 added test failure diagnostic 2009-08-13 22:40:02 +00:00
Andrew Johnson 3a335c88f0 Move Jeff's notes to the top. 2009-08-13 16:06:59 +00:00
Jeff Hill 44a6e9a005 added SEVCHK string 2009-08-12 00:37:10 +00:00
Jeff Hill 1f129d3739 added bullet under mantis 329 for R3.14.11 2009-08-10 23:20:59 +00:00
Jeff Hill 720236ed39 added CA, PCA, and some libCom fixes for R3.14.11 2009-08-10 22:51:09 +00:00
Jeff Hill 57c9f9344f improved show function 2009-08-10 21:51:07 +00:00
Andrew Johnson 64cb41f489 $(SHRLIB_PREFIX) $(LIB_PREFIX) mismatch 2009-08-10 21:50:11 +00:00
Jeff Hill 6fe047731f added shjow func to epicsThread class 2009-08-10 21:48:50 +00:00
Jeff Hill 56c4c92588 improved show diagnostic 2009-08-10 21:41:59 +00:00
Andrew Johnson 562db1e24c Application configure files. 2009-08-10 21:15:27 +00:00
Janet B. Anderson 1b70afa54b Moved ECHO definition to preceed 'ifdef T_A' defines. 2009-08-10 16:49:55 +00:00
Janet B. Anderson f316b4ca81 Change echo macro back to @echo. We never want to comment help messages. 2009-08-10 16:41:28 +00:00
Andrew Johnson 6d8cfeef01 Explain the epicsCalcTest #66 failure on Linux. 2009-08-07 21:26:47 +00:00
Andrew Johnson b1b72e8cf0 updated comment text 2009-08-07 20:24:53 +00:00
Andrew Johnson cde59e262b gpHash argument change. 2009-08-07 15:53:28 +00:00
Jeff Hill 40b6d1b0ba moved IO pending count to caServer 2009-08-06 02:24:00 +00:00
Jeff Hill 4464cfedaa fixed warning message 2009-08-06 01:36:56 +00:00
Jeff Hill b9fbf2e45b fixed error code numbering 2009-08-06 01:36:30 +00:00
Jeff Hill 42ce1bd2db o reset pendingResponseStatus, reqPayloadNeedsByteSwap,
responseIsPending, and pValueRead whenever removing a
message from the stream
o eliminated error prone reuse of status variables
o dont allow service to postpone IO when no IO is pending against the target
o be extra careful not to do things twice when send blocked or IO postponed
2009-08-06 00:06:59 +00:00
Jeff Hill 7de356519d o added pValueRead gdd snart pointer
o payloadNeedsByteSwap renamed to reqPayloadNeedsByteSwap
o added issuePosponeWhenNonePendingWarning static func
2009-08-05 23:58:40 +00:00
Jeff Hill ff5ca5e041 added ioIsPending func 2009-08-05 23:56:26 +00:00
Jeff Hill d1bb71809b added S_cas_posponeWhenNonePending status 2009-08-05 23:56:01 +00:00
Jeff Hill 7a49a17d1b removed unused template instantiation 2009-08-04 23:32:32 +00:00
Jeff Hill 7cf77b40e6 updated the example to implement casPV::writeNotify implementing similar semantics to an IOC 2009-08-04 23:31:13 +00:00
Andrew Johnson e387c06f59 STATIC_ASSERT(). 2009-08-04 19:51:19 +00:00
Andrew Johnson c035566d7d Use compile-time assertions, from Micheal Davidsaver. 2009-08-04 19:10:30 +00:00
Andrew Johnson 57e5406684 Added STATIC_ASSERT macro.
Removed assert() definition for pre-ANSI C compilers.
2009-08-04 19:07:07 +00:00
Jeff Hill b4948b4ff6 fixed missing space in command line help string 2009-08-04 17:50:56 +00:00
Andrew Johnson 15f6b8c682 Update dbDefs.h changes. 2009-08-04 17:11:02 +00:00
Andrew Johnson 4868904839 Added CONTAINER macro, from Micheal Davidsaver (BNL). 2009-08-04 16:31:06 +00:00
Andrew Johnson 1a2fa1bc86 Some cleanup, mostly spacing. 2009-08-03 22:22:45 +00:00
Jeff Hill e3a61ce4e4 fix for mantis 358 2009-08-03 22:09:52 +00:00
Andrew Johnson efdee3c31a Escaping doesn't work on all Win32 platform combinations.
Removed -e option again.
2009-08-03 22:03:33 +00:00
Andrew Johnson ee44663d89 errSymFind() removal. 2009-08-03 17:14:25 +00:00
Andrew Johnson 90db5a4ab0 Deleted test code which was moved to libCom/test some time ago. 2009-08-03 17:13:04 +00:00
Jeff Hill 72dbaa8a0f auto-adjust iterations for payload size 2009-07-31 23:26:16 +00:00
Jeff Hill 458689a252 fixed formating 2009-07-31 22:12:32 +00:00
Jeff Hill 0daf347ef3 fixed incorrect Mbps calc based on rounded payload size 2009-07-31 22:01:53 +00:00
Jeff Hill e32d8d77dc fixed gnu compiler issues 2009-07-31 21:43:03 +00:00