Skip to content

Commit

Permalink
Deprecate Restartable Threads & Remove Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TomaszTB committed Nov 13, 2024
1 parent 263375e commit a21f80d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 351 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

import java.util.concurrent.atomic.AtomicBoolean;

/**
* @deprecated Use {@link us.ihmc.commons.thread.RepeatingTaskThread} instead.
*/
@Deprecated
public class RestartableThread
{
private final String name;
Expand Down Expand Up @@ -94,9 +98,4 @@ public boolean isRunning()
{
return running.getPlain();
}

boolean isAlive()
{
return thread == null ? false : thread.isAlive();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

import java.util.concurrent.atomic.AtomicBoolean;

/**
* @deprecated Use {@link us.ihmc.commons.thread.RepeatingTaskThread} with a frequency limit set.
*/
public class RestartableThrottledThread
{
private final String name;
Expand Down Expand Up @@ -90,10 +93,4 @@ public boolean isRunning()
{
return running.getPlain();
}

// only used for testing
boolean isAlive()
{
return thread == null ? false : thread.isAlive();
}
}

This file was deleted.

This file was deleted.

0 comments on commit a21f80d

Please sign in to comment.