Class ThreadUtils

java.lang.Object
soot.jimple.infoflow.util.ThreadUtils

public class ThreadUtils extends Object
This class can be used to create threads. Own implementations may provide their own factory if they wish.
  • Field Details

  • Constructor Details

    • ThreadUtils

      public ThreadUtils()
  • Method Details

    • createGenericThread

      public static Thread createGenericThread(Runnable r, String name, boolean daemon)
      Adds a thread which is generic, i.e. not necessary tied to a specific soot instance.
      Parameters:
      r - the runnable
      name - the name of the thread
      daemon - whether the thread is a daemon
      Returns:
      the thread