|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.common.WindowsSleepBugSolver
public final class WindowsSleepBugSolver
Helper class to solve a bug under windows which causes inaccurate Thread.sleep behavior.
Check out this for more information on the bug: http://bugs.sun.com/view_bug.do?bug_id=6435126
We want the RoboticsAPI to be as accurate as possible, so we have this bug solver inside the API.
| Method Summary | |
|---|---|
static void |
solve()
Solves a bug under windows which causes an inaccurate sleep. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void solve()
This method starts a deamon thread which will sleep all the time. It will only start the thread once and only if the os.name property contains the string 'Windows'.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||