2010-06-21 fchouinard@gmail.com Fix for Bug316276
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf / src / org / eclipse / linuxtools / tmf / component / TmfThread.java
CommitLineData
9b635e61
FC
1package org.eclipse.linuxtools.tmf.component;
2
3import org.eclipse.linuxtools.tmf.request.ITmfDataRequest.ExecutionType;
4
5public class TmfThread extends Thread { // implements Comparator<ITmfDataRequest<?>> {
6
7 private final ExecutionType fExecType;
8
9 public TmfThread(ExecutionType execType) {
10 fExecType = execType;
11 }
12
13 public ExecutionType getExecType() {
14 return fExecType;
15 }
16//
17// public int compare(ITmfDataRequest<?> o1, ITmfDataRequest<?> o2) {
18// if (o1.getExecType() == o2.getExecType())
19// return 0;
20// if (o1.getExecType() == ExecutionType.SHORT)
21// return -1;
22// return 1;
23// }
24
25}
This page took 0.024427 seconds and 5 git commands to generate.