patches/opal-03-jitter.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 14606 90f09d9c767b
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14606
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
     1
Index: opal/src/opal/patch.cxx
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
     2
===================================================================
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
     3
--- opal/src/opal/patch.cxx	(revision 21499)
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
     4
+++ opal/src/opal/patch.cxx	(working copy)
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
     5
@@ -458,6 +458,11 @@
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
     6
       PTRACE(4, "Patch\tThread ended because source read failed");
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
     7
       break;
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
     8
     }
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
     9
+
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
    10
+    if (sourceFrame.GetPayloadSize() == 0)  {
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
    11
+      PThread::Sleep(15);
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
    12
+      continue;
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
    13
+    } 
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
    14
  
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
    15
     inUse.StartRead();
90f09d9c767b The missing commit in r16310.
elaine
parents: 9688
diff changeset
    16
     bool written = DispatchFrame(sourceFrame);