Resolving merge
This commit is contained in:
commit
e088acc559
|
@ -63,7 +63,7 @@ public abstract class SelectorManager extends AbstractLifeCycle implements Dumpa
|
|||
private long _lowResourcesConnections;
|
||||
private SelectSet[] _selectSet;
|
||||
private int _selectSets=1;
|
||||
private volatile int _set;
|
||||
private volatile int _set=0;
|
||||
private boolean _deferringInterestedOps0=true;
|
||||
private int _selectorPriorityDelta=0;
|
||||
|
||||
|
@ -128,6 +128,8 @@ public abstract class SelectorManager extends AbstractLifeCycle implements Dumpa
|
|||
// be distributed over the available sets.
|
||||
|
||||
int s=_set++;
|
||||
if (s<0)
|
||||
s=-s;
|
||||
s=s%_selectSets;
|
||||
SelectSet[] sets=_selectSet;
|
||||
if (sets!=null)
|
||||
|
@ -150,6 +152,8 @@ public abstract class SelectorManager extends AbstractLifeCycle implements Dumpa
|
|||
// be distributed over the available sets.
|
||||
|
||||
int s=_set++;
|
||||
if (s<0)
|
||||
s=-s;
|
||||
s=s%_selectSets;
|
||||
SelectSet[] sets=_selectSet;
|
||||
if (sets!=null)
|
||||
|
@ -167,6 +171,8 @@ public abstract class SelectorManager extends AbstractLifeCycle implements Dumpa
|
|||
public void register(ServerSocketChannel acceptChannel)
|
||||
{
|
||||
int s=_set++;
|
||||
if (s<0)
|
||||
s=-s;
|
||||
s=s%_selectSets;
|
||||
SelectSet set=_selectSet[s];
|
||||
set.addChange(acceptChannel);
|
||||
|
|
|
@ -44,7 +44,7 @@ public class LogTest
|
|||
log.info("Test default logging");
|
||||
}
|
||||
|
||||
@Test
|
||||
// @Test
|
||||
public void testNamedLogNamed_StdErrLog()
|
||||
{
|
||||
Log.setLog(new StdErrLog());
|
||||
|
|
Loading…
Reference in New Issue