File tree Expand file tree Collapse file tree 4 files changed +4
-891
lines changed
net/openhft/affinity/impl Expand file tree Collapse file tree 4 files changed +4
-891
lines changed Original file line number Diff line number Diff line change 1717
1818package net .openhft .affinity .impl ;
1919
20- import net .openhft .affinity .AffinitySupport ;
20+ import net .openhft .affinity .Affinity ;
2121import net .openhft .affinity .IAffinity ;
2222import org .junit .Assume ;
2323import org .junit .BeforeClass ;
@@ -45,7 +45,7 @@ public IAffinity getImpl() {
4545 public void testGettid () {
4646 System .out .println ("pid=" + getImpl ().getProcessId ());
4747 System .out .println ("tid=" + getImpl ().getThreadId ());
48- AffinitySupport .setThreadId ();
48+ Affinity .setThreadId ();
4949
5050 for (int j = 0 ; j < 3 ; j ++) {
5151 final int runs = 100000 ;
Original file line number Diff line number Diff line change 1818package net .openhft .affinity .impl ;
1919
2020import net .openhft .affinity .Affinity ;
21- import net .openhft .affinity .AffinitySupport ;
2221import net .openhft .affinity .IAffinity ;
2322import org .junit .Assume ;
2423import org .junit .BeforeClass ;
@@ -44,7 +43,7 @@ public IAffinity getImpl() {
4443 public void testGettid () {
4544 System .out .println ("pid=" + getImpl ().getProcessId ());
4645 System .out .println ("tid=" + getImpl ().getThreadId ());
47- AffinitySupport .setThreadId ();
46+ Affinity .setThreadId ();
4847
4948 for (int j = 0 ; j < 3 ; j ++) {
5049 final int runs = 100000 ;
Original file line number Diff line number Diff line change 2222import java .io .IOException ;
2323import java .io .InputStream ;
2424
25- import static junit . framework .Assert .assertEquals ;
25+ import static org . junit .Assert .assertEquals ;
2626
2727/**
2828 * @author peter.lawrey
You can’t perform that action at this time.
0 commit comments