Changeset 14936 for trunk/FACT++/dim/src


Ignore:
Timestamp:
02/21/13 13:07:34 (12 years ago)
Author:
tbretz
Message:
Changed to v20r5.
Location:
trunk/FACT++/dim/src
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/dim/src/benchmark/benchClient.cxx

    r11071 r14936  
    2323        }
    2424public :
    25         Service(char *name) : DimInfo(name,"--") {/*nReceived = 0;*/}
     25        Service(char *name) : DimInfo(name,(char *)"--") {/*nReceived = 0;*/}
    2626};
    2727
     
    3434        char *name, *format, *cltptr, *srvptr, clientName[128];
    3535
     36        if(argc){}
     37        if(argc){}
    3638        br.getServices("BENCH_SERVICE_*");
    3739
     
    4749        }
    4850        dic_get_id(clientName);
    49         if(cltptr = strchr(clientName,'@'))
     51        if((cltptr = strchr(clientName,'@')))
    5052                cltptr++;
    5153        sleep(5);
     
    5557
    5658        mps = NReceived/TEST_TIME;
    57         if(srvptr = strchr(ServerName,'@'))
     59        if((srvptr = strchr(ServerName,'@')))
    5860                srvptr++;
    5961        cout << "Benchmark from "<< srvptr << " to " << cltptr << " :" << endl;
  • trunk/FACT++/dim/src/benchmark/benchServer.cxx

    r11071 r14936  
    44#include <process.h>
    55#endif
     6#include <stdio.h>
    67
    78int main(int argc, char *argv[])
     
    1112        DimService **services;
    1213
     14        if(argc){}
    1315        sscanf(argv[1],"%d",&msgSize);
    1416        sscanf(argv[2],"%d",&nServices);
  • trunk/FACT++/dim/src/dim_thr.c

    r14698 r14936  
    535535
    536536{
     537        if(thread_ast){}
     538        if(tag){}
    537539        printf("dim_start_thread: not available\n");
    538540        return (dim_long)0;
     
    541543int dim_stop_thread(dim_long t_id)
    542544{
     545        if(t_id){}
    543546        printf("dim_stop_thread: not available\n");
    544547        return 0;
  • trunk/FACT++/dim/src/dtq.c

    r14575 r14936  
    844844        sigprocmask(SIG_UNBLOCK, &set, &oset);
    845845        Dtq_sleeping = 1;
    846         dtq_start_timer(secs, dtq_sleep_rout, (void *)123);
     846        dtq_start_timer(secs, dtq_sleep_rout, (dim_long)123);
    847847    do{
    848848                pause();
  • trunk/FACT++/dim/src/examples/test_server.c

    r14698 r14936  
    126126        id = dis_add_service( aux, "l:3;d:1;s:1;c:1;s:1;f:1;c:20", &t, sizeof(t),
    127127                (void *)0, 0 );
     128        if(id){}
    128129        sprintf(aux,"%s/TEST_CMD",argv[1]);
    129130        dis_add_cmnd(aux,"l:3;d:1;s:1;c:1;s:1;f:1;c:20",cmnd_rout, 0);
     
    178179                */
    179180                sleep(10);
     181/*
    180182                dis_update_service(id);
     183*/
    181184/*             
    182185                for(i = 1; i <= 200; i++)
Note: See TracChangeset for help on using the changeset viewer.