CVS update: JGroups/src/org/jgroups/protocols FC.java
"Bela Ban" <[email protected]>
| Newsgroups | gmane.comp.java.javagroups.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: belaban
Date: 10/08/20 06:10:51
Modified: src/org/jgroups/protocols FC.java
Log:
ns
Revision Changes Path
1.120 +2 -2 JGroups/src/org/jgroups/protocols/FC.java
Index: FC.java
===================================================================
RCS file: /cvsroot/javagroups/JGroups/src/org/jgroups/protocols/FC.java,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -r1.119 -r1.120
--- FC.java 19 Aug 2010 12:59:23 -0000 1.119
+++ FC.java 20 Aug 2010 06:10:50 -0000 1.120
@@ -32,7 +32,7 @@
* <li>Receivers don't send the full credits (max_credits), but rather tha actual number of bytes received
* <ol/>
* @author Bela Ban
- * @version $Id: FC.java,v 1.119 2010/08/19 12:59:23 belaban Exp $
+ * @version $Id: FC.java,v 1.120 2010/08/20 06:10:50 belaban Exp $
*/
@MBean(description="Simple flow control protocol based on a credit system")
public class FC extends Protocol {
@@ -550,7 +550,7 @@
}
boolean rc=credits_available.await(block_time, TimeUnit.MILLISECONDS);
- if(rc || length <= lowest_credit || !running)
+ if(length <= lowest_credit || rc || !running)
break;
// if we use max_block_times, then we do *not* send credit requests, even if we run
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev