Changeset 14936 for trunk/FACT++
- Timestamp:
- 02/21/13 13:07:34 (12 years ago)
- Location:
- trunk/FACT++/dim
- Files:
-
- 1 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/dim/README_v20.txt
r14698 r14936 1 1 2 DIM version 20r 4Release Notes2 DIM version 20r5 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 2004. 19 NOTE 3: The Version Number service provided by servers is now set to 2005. 20 21 21/12/2012 22 Changes for version 2005: 23 - Moved the WebDID sources to the src directory and the VS settings to the Visual directory 24 - In the Multithreaded (the default) version of DIM, signals are not touched anymore. 25 Before they were masked/unmasked at every dim lock/unlock occurence. 26 - Fixes in WebDID: 27 - Now DIM nodes defined by an IP Address are shown properly (by IP Name) 28 - WebDID looks for the Javascript files in the same directory where its executable is 29 (independently of where it is started from) 30 20 31 21 32 21/11/2012 … … 28 39 Changes for version 2003: 29 40 - Added the project settings for Visual Studio 10 in the Visual directory 41 - Added a bin64 directory containing binaries for Windows7 (and 2008 R2) 64 bits 30 42 - Added a prototype webDid. in order to use it: 31 43 - In the same machine when the DIM DNS runs start <dim>/WebDid/webDid -
trunk/FACT++/dim/dim/dim.h
r14698 r14936 14 14 #include "dim_common.h" 15 15 16 #define DIM_VERSION_NUMBER 200 416 #define DIM_VERSION_NUMBER 2005 17 17 18 18 -
trunk/FACT++/dim/dim/dim_common.h
r14575 r14936 124 124 #include <unistd.h> 125 125 126 #define DISABLE_ ASTsigset_t set, oset; sigemptyset(&set);\126 #define DISABLE_SIG sigset_t set, oset; sigemptyset(&set);\ 127 127 sigaddset(&set,SIGIO);\ 128 128 sigaddset(&set,SIGALRM);\ 129 sigprocmask(SIG_BLOCK,&set,&oset);\ 130 DIM_LOCK 131 #define ENABLE_AST DIM_UNLOCK sigprocmask(SIG_SETMASK,&oset,0); 129 sigprocmask(SIG_BLOCK,&set,&oset); 130 #define ENABLE_SIG sigprocmask(SIG_SETMASK,&oset,0); 132 131 133 132 #ifdef VxWorks 133 #define DISABLE_AST DISABLE_SIG DIM_LOCK 134 #define ENABLE_AST DIM_UNLOCK ENABLE_SIG 134 135 #define DIM_LOCK taskLock(); 135 136 #define DIM_UNLOCK taskUnlock(); … … 144 145 _DIM_PROTOE( void dim_signal_cond, () ); 145 146 147 #define DISABLE_AST DIM_LOCK 148 #define ENABLE_AST DIM_UNLOCK 146 149 #define DIM_LOCK dim_lock(); 147 150 #define DIM_UNLOCK dim_unlock(); 148 151 149 152 #else 153 #include <time.h> 154 #define DISABLE_AST DISABLE_SIG DIM_LOCK 155 #define ENABLE_AST DIM_UNLOCK ENABLE_SIG 150 156 #define DIM_LOCK 151 157 #define DIM_UNLOCK -
trunk/FACT++/dim/src/benchmark/benchClient.cxx
r11071 r14936 23 23 } 24 24 public : 25 Service(char *name) : DimInfo(name, "--") {/*nReceived = 0;*/}25 Service(char *name) : DimInfo(name,(char *)"--") {/*nReceived = 0;*/} 26 26 }; 27 27 … … 34 34 char *name, *format, *cltptr, *srvptr, clientName[128]; 35 35 36 if(argc){} 37 if(argc){} 36 38 br.getServices("BENCH_SERVICE_*"); 37 39 … … 47 49 } 48 50 dic_get_id(clientName); 49 if( cltptr = strchr(clientName,'@'))51 if((cltptr = strchr(clientName,'@'))) 50 52 cltptr++; 51 53 sleep(5); … … 55 57 56 58 mps = NReceived/TEST_TIME; 57 if( srvptr = strchr(ServerName,'@'))59 if((srvptr = strchr(ServerName,'@'))) 58 60 srvptr++; 59 61 cout << "Benchmark from "<< srvptr << " to " << cltptr << " :" << endl; -
trunk/FACT++/dim/src/benchmark/benchServer.cxx
r11071 r14936 4 4 #include <process.h> 5 5 #endif 6 #include <stdio.h> 6 7 7 8 int main(int argc, char *argv[]) … … 11 12 DimService **services; 12 13 14 if(argc){} 13 15 sscanf(argv[1],"%d",&msgSize); 14 16 sscanf(argv[2],"%d",&nServices); -
trunk/FACT++/dim/src/dim_thr.c
r14698 r14936 535 535 536 536 { 537 if(thread_ast){} 538 if(tag){} 537 539 printf("dim_start_thread: not available\n"); 538 540 return (dim_long)0; … … 541 543 int dim_stop_thread(dim_long t_id) 542 544 { 545 if(t_id){} 543 546 printf("dim_stop_thread: not available\n"); 544 547 return 0; -
trunk/FACT++/dim/src/dtq.c
r14575 r14936 844 844 sigprocmask(SIG_UNBLOCK, &set, &oset); 845 845 Dtq_sleeping = 1; 846 dtq_start_timer(secs, dtq_sleep_rout, ( void *)123);846 dtq_start_timer(secs, dtq_sleep_rout, (dim_long)123); 847 847 do{ 848 848 pause(); -
trunk/FACT++/dim/src/examples/test_server.c
r14698 r14936 126 126 id = dis_add_service( aux, "l:3;d:1;s:1;c:1;s:1;f:1;c:20", &t, sizeof(t), 127 127 (void *)0, 0 ); 128 if(id){} 128 129 sprintf(aux,"%s/TEST_CMD",argv[1]); 129 130 dis_add_cmnd(aux,"l:3;d:1;s:1;c:1;s:1;f:1;c:20",cmnd_rout, 0); … … 178 179 */ 179 180 sleep(10); 181 /* 180 182 dis_update_service(id); 183 */ 181 184 /* 182 185 for(i = 1; i <= 200; i++)
Note:
See TracChangeset
for help on using the changeset viewer.