org.eclipse.cdt.core.parser
Class ParserTimeOut
java.lang.Object
org.eclipse.cdt.core.parser.ParserTimeOut
- All Implemented Interfaces:
- java.lang.Runnable
public class ParserTimeOut
- extends java.lang.Object
- implements java.lang.Runnable
- Author:
- bgheorgh
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParserTimeOut
public ParserTimeOut()
ParserTimeOut
public ParserTimeOut(java.lang.String threadName)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
startTimer
public void startTimer()
stopTimer
public void stopTimer()
reset
public void reset()
getThreadPriority
public int getThreadPriority()
- Returns:
- Returns the threadPriority.
setThreadPriority
public void setThreadPriority(int threadPriority)
- Parameters:
threadPriority
- The threadPriority to set.
setParser
public void setParser(org.eclipse.cdt.core.parser.IParser c)
- Parameters:
pm
- The pm to set.
getTimeout
public int getTimeout()
- Returns:
- Returns the timeout.
setTimeout
public void setTimeout(int timeout)
- Parameters:
timeout
- The timeout to set.
isReadyToRun
public boolean isReadyToRun()