Browse Source

Fix JackFreewheelDriver::Process() in case if client time-out : continue processing until a better recovery strategy is chosen.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2672 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.90
sletz 17 years ago
parent
commit
71ad2dad2c
3 changed files with 3 additions and 2 deletions
  1. +1
    -0
      ChangeLog
  2. +2
    -1
      common/JackFreewheelDriver.cpp
  3. +0
    -1
      common/JackThreadedDriver.cpp

+ 1
- 0
ChangeLog View File

@@ -24,6 +24,7 @@ Romain Moret
2008-07-08 Stephane Letz <letz@grame.fr>

* Add jack_get_descriptor in internal clients API.
* Fix JackFreewheelDriver::Process() in case if client time-out : continue processing until a better recovery strategy is chosen.

2008-07-08 Stephane Letz <letz@grame.fr>



+ 2
- 1
common/JackFreewheelDriver.cpp View File

@@ -42,7 +42,8 @@ int JackFreewheelDriver::Process()
fGraphManager->ResumeRefNum(&fClientControl, fSynchroTable); // Signal all clients
if (fGraphManager->SuspendRefNum(&fClientControl, fSynchroTable, FREEWHEEL_DRIVER_TIMEOUT * 1000000) < 0) { // Wait for all clients to finish for 10 sec
jack_error("JackFreewheelDriver::ProcessSync SuspendRefNum error");
return -1;
/* We have a client time-out error, but still continue to process, until a better recovery strategy is chosen */
return 0;
}
} else {
fGraphManager->ResumeRefNum(&fClientControl, fSynchroTable); // Signal all clients


+ 0
- 1
common/JackThreadedDriver.cpp View File

@@ -31,7 +31,6 @@
#include "JackGlobals.h"
#include "JackClient.h"
#include "JackEngineControl.h"
#include "JackException.h"

namespace Jack
{


Loading…
Cancel
Save