Changeset 11070 for trunk/FACT++/dim


Ignore:
Timestamp:
06/18/11 23:10:31 (14 years ago)
Author:
tbretz
Message:
Updated from v19r20 to v19r21
Location:
trunk/FACT++/dim
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/dim/README_v19.txt

    r10614 r11070  
    11
    2                     DIM version 19.20 Release Notes
     2                    DIM version 19.21 Release Notes
    33
    44Notes 1 and 2 for Unix Users only
     
    1717                Dns </dev/null >& dns.log &
    1818
    19 NOTE 3: The Version Number service provided by servers is now set to 1920.
     19NOTE 3: The Version Number service provided by servers is now set to 1921.
     20
     2131/05/2011
     22Changes for version 19.21:
     23    - Fixed a bug in DimRpcInfo: the timer for the timeout was started too late and sometimes the
     24      RPC data was received in the meantime, so the timer was never stopped.
     25
    2026
    212704/05/2011
  • trunk/FACT++/dim/dim/dim.h

    r10614 r11070  
    1414#include "dim_common.h"
    1515
    16 #define DIM_VERSION_NUMBER 1920
     16#define DIM_VERSION_NUMBER 1921
    1717
    1818#define MY_LITTLE_ENDIAN        0x1
  • trunk/FACT++/dim/src/diccpp.cxx

    r10614 r11070  
    452452        {
    453453                t->stop();
     454//dim_print_date_time();
     455//printf("DIM RPC: Stopped Timer, Data Received for %s\n", t->getName());
    454456                if(DimClient::getNoDataCopy() == 0)
    455457                        memcpy(t->itsData, buf, size);
     
    504506                        itsData = buf;
    505507                itsSize = size;
     508//dim_print_date_time();
     509//printf("DIM RPC: Timer fired, No Data Received for %s\n", itsName);
    506510                wakeUp = 1;
    507511                if(itsInit)
     
    618622                dim_wait();
    619623        itsWaiting = 1;
     624        if(itsTimeout)
     625                start(itsTimeout);
     626//dim_print_date_time();
     627//printf("DIM RPC: Started Timer for %s - %d secs\n", itsName, itsTimeout);
    620628        ret = DimClient::sendCommand(itsNameOut, itsDataOut, size);
    621629        if(!ret)
    622630        {
     631                if(itsTimeout)
     632                        stop();
     633//dim_print_date_time();
     634//printf("DIM RPC: Stopped Timer, Command failed for %s\n", itsName);
    623635//              rpc_user_routine((int *)&itsTagId, itsNolinkBuf, &itsNolinkSize);
    624636                rpc_user_routine((long *)&itsHandler, itsNolinkBuf, &itsNolinkSize);
    625637        }
     638/*
    626639        else
    627640        {
     
    629642                        start(itsTimeout);
    630643        }
     644*/
    631645}
    632646
     
    655669//      if(itsTagId)
    656670//              id_free(itsTagId, SRC_DIC);
     671//dim_print_date_time();
     672//printf("DIM RPC: Deleting RPC and Timer for %s\n", itsName);
    657673        if(itsId)
    658674                dic_release_service(itsId);
  • trunk/FACT++/dim/src/examples/rpc_client.cxx

    r10614 r11070  
    8787
    8888        dim_init();
    89         DimClient::setNoDataCopy();
     89//      DimClient::setNoDataCopy();
    9090
    91         for(i = 0; i < 10; i++)
     91        for(i = 0; i < 1; i++)
    9292        {
    9393                dim_start_thread(do_work,(void *)i);
Note: See TracChangeset for help on using the changeset viewer.