Changeset 110 for smplayer/trunk/src
- Timestamp:
- Jun 30, 2010, 6:45:00 PM (15 years ago)
- Location:
- smplayer/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk/src/mplayerprocess.cpp
r93 r110 129 129 return; 130 130 131 // as things could hang when pipe communication is done direct here, i do a seperate thread for it */131 // as things could hang when pipe communication is done direct here, i do a seperate thread for it 132 132 pipeThread = new PipeThread(text, hpipe); 133 133 134 134 pipeThread->start(); 135 135 while (!pipeThread->isRunning() && !pipeThread->isFinished()) { 136 qDebug("we s pleep");136 qDebug("we sleep"); 137 137 DosSleep(10); 138 138 } 139 if (!pipeThread->wait(2000)) { 139 // we wait for max 2 seconds for the thread to be ended (we to this with max 20 loops) 140 int count = 0; 141 while (!pipeThread->wait(100) && count < 20) { 142 count ++; 143 } 144 if (count >= 20) { 140 145 pipeThread->terminate(); 141 146 qDebug("pipe communication terminated"); … … 889 894 return; 890 895 891 qDebug("pipe connected");896 // qDebug("pipe connected"); 892 897 DosWrite( hpipe, text.data(), strlen( text.data() ), &cbActual ); 893 898 -
smplayer/trunk/src/svn_revision.h
r93 r110 1 #define SVN_REVISION "SVN-r UNKNOWN"1 #define SVN_REVISION "SVN-r92"
Note:
See TracChangeset
for help on using the changeset viewer.