Changeset 11070 for trunk/FACT++/dim
- Timestamp:
- 06/18/11 23:10:31 (14 years ago)
- Location:
- trunk/FACT++/dim
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/dim/README_v19.txt
r10614 r11070 1 1 2 DIM version 19.2 0Release Notes2 DIM version 19.21 Release Notes 3 3 4 4 Notes 1 and 2 for Unix Users only … … 17 17 Dns </dev/null >& dns.log & 18 18 19 NOTE 3: The Version Number service provided by servers is now set to 1920. 19 NOTE 3: The Version Number service provided by servers is now set to 1921. 20 21 31/05/2011 22 Changes 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 20 26 21 27 04/05/2011 -
trunk/FACT++/dim/dim/dim.h
r10614 r11070 14 14 #include "dim_common.h" 15 15 16 #define DIM_VERSION_NUMBER 192 016 #define DIM_VERSION_NUMBER 1921 17 17 18 18 #define MY_LITTLE_ENDIAN 0x1 -
trunk/FACT++/dim/src/diccpp.cxx
r10614 r11070 452 452 { 453 453 t->stop(); 454 //dim_print_date_time(); 455 //printf("DIM RPC: Stopped Timer, Data Received for %s\n", t->getName()); 454 456 if(DimClient::getNoDataCopy() == 0) 455 457 memcpy(t->itsData, buf, size); … … 504 506 itsData = buf; 505 507 itsSize = size; 508 //dim_print_date_time(); 509 //printf("DIM RPC: Timer fired, No Data Received for %s\n", itsName); 506 510 wakeUp = 1; 507 511 if(itsInit) … … 618 622 dim_wait(); 619 623 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); 620 628 ret = DimClient::sendCommand(itsNameOut, itsDataOut, size); 621 629 if(!ret) 622 630 { 631 if(itsTimeout) 632 stop(); 633 //dim_print_date_time(); 634 //printf("DIM RPC: Stopped Timer, Command failed for %s\n", itsName); 623 635 // rpc_user_routine((int *)&itsTagId, itsNolinkBuf, &itsNolinkSize); 624 636 rpc_user_routine((long *)&itsHandler, itsNolinkBuf, &itsNolinkSize); 625 637 } 638 /* 626 639 else 627 640 { … … 629 642 start(itsTimeout); 630 643 } 644 */ 631 645 } 632 646 … … 655 669 // if(itsTagId) 656 670 // id_free(itsTagId, SRC_DIC); 671 //dim_print_date_time(); 672 //printf("DIM RPC: Deleting RPC and Timer for %s\n", itsName); 657 673 if(itsId) 658 674 dic_release_service(itsId); -
trunk/FACT++/dim/src/examples/rpc_client.cxx
r10614 r11070 87 87 88 88 dim_init(); 89 DimClient::setNoDataCopy();89 // DimClient::setNoDataCopy(); 90 90 91 for(i = 0; i < 1 0; i++)91 for(i = 0; i < 1; i++) 92 92 { 93 93 dim_start_thread(do_work,(void *)i);
Note:
See TracChangeset
for help on using the changeset viewer.