Changeset 243 in flair-src for trunk/lib/FlairCore/src
- Timestamp:
- May 24, 2018, 9:46:08 AM (6 years ago)
- Location:
- trunk/lib/FlairCore/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/FrameworkManager_impl.cpp
r234 r243 189 189 if (com != NULL) { 190 190 delete com; 191 //avoid waiting on closing if connection is lost 192 if(connection_lost) { 193 bool blocking = false; 194 if (UDT::setsockopt(com_sock, 0, UDT_SNDSYN, &blocking, sizeof(bool)) != 0) 195 Err("UDT::setsockopt error (UDT_SNDSYN)\n"); 196 } 191 197 status = UDT::close(com_sock); 192 198 if (status != 0) … … 194 200 195 201 SleepMS(200); // a revoir, sinon UDT::cleanup bloque en RT 196 UDT::cleanup(); 202 203 if(connection_lost) { 204 //don't know why? 205 Warn("Cleaning up UDT socket, this can take some time\n"); 206 } 207 if (UDT::cleanup() != 0) 208 Err("UDT::cleanup error\n"); 197 209 } 198 210 -
trunk/lib/FlairCore/src/Thread_impl.cpp
r213 r243 149 149 150 150 caller->self->Run(); 151 151 Printf("Stopping thread %s\n", caller->self->ObjectName().c_str()); 152 152 caller->PrintStats(); 153 153 } … … 160 160 161 161 caller->self->Run(); 162 162 Printf("Stopping thread %s\n", caller->self->ObjectName().c_str()); 163 163 caller->PrintStats(); 164 164 … … 316 316 317 317 void Thread_impl::PrintStats(void) { 318 Printf("Stopping thread %s\n", self->ObjectName().c_str());319 318 #ifdef __XENO__ 320 319 RT_TASK_INFO info; -
trunk/lib/FlairCore/src/ui_com.cpp
r234 r243 118 118 119 119 ui_com::~ui_com() { 120 // printf("destruction ui_com\n");120 //Printf("destruction ui_com\n"); 121 121 122 122 #ifdef __XENO__ … … 143 143 send_buffer = NULL; 144 144 145 // printf("destruction ui_com ok\n");145 //Printf("destruction ui_com ok\n"); 146 146 } 147 147
Note:
See TracChangeset
for help on using the changeset viewer.