Tabnine Logo
Animator.getThreadName
Code IndexAdd Tabnine to your IDE (free)

How to use
getThreadName
method
in
com.jogamp.opengl.util.Animator

Best Java code snippets using com.jogamp.opengl.util.Animator.getThreadName (Showing top 3 results out of 315)

origin: ch.unibas.cs.gravis/scalismo-native-stub

@Override
public final synchronized boolean start() {
  if ( isStarted() ) {
    return false;
  }
  if (runnable == null) {
    runnable = new MainLoop();
  }
  fpsCounter.resetFPSCounter();
  final String threadName = getThreadName()+"-"+baseName;
  Thread thread;
  if(null==threadGroup2) {
    thread = new Thread(runnable, threadName);
  } else {
    thread = new Thread(threadGroup2, runnable, threadName);
  }
  thread.setDaemon(false); // force to be non daemon, regardless of parent thread
  if(DEBUG) {
    final Thread ct = Thread.currentThread();
    System.err.println("Animator "+ct.getName()+"[daemon "+ct.isDaemon()+"]: starting "+thread.getName()+"[daemon "+thread.isDaemon()+"]");
  }
  thread.start();
  return finishLifecycleAction(waitForStartedCondition, 0);
}
private final Condition waitForStartedCondition = new Condition() {
origin: org.jogamp.jogl/jogl

@Override
public final synchronized boolean start() {
  if ( isStarted() ) {
    return false;
  }
  if (runnable == null) {
    runnable = new MainLoop();
  }
  fpsCounter.resetFPSCounter();
  final Thread thread = new InterruptSource.Thread(threadGroup, runnable, getThreadName()+"-"+baseName);
  thread.setDaemon(false); // force to be non daemon, regardless of parent thread
  if(DEBUG) {
    final Thread ct = Thread.currentThread();
    System.err.println("Animator "+ct.getName()+"[daemon "+ct.isDaemon()+"]: starting "+thread.getName()+"[daemon "+thread.isDaemon()+"]");
  }
  thread.start();
  return finishLifecycleAction(waitForStartedCondition, 0);
}
private final Condition waitForStartedCondition = new Condition() {
origin: org.jogamp.jogl/jogl-all-noawt

@Override
public final synchronized boolean start() {
  if ( isStarted() ) {
    return false;
  }
  if (runnable == null) {
    runnable = new MainLoop();
  }
  fpsCounter.resetFPSCounter();
  final Thread thread = new InterruptSource.Thread(threadGroup, runnable, getThreadName()+"-"+baseName);
  thread.setDaemon(false); // force to be non daemon, regardless of parent thread
  if(DEBUG) {
    final Thread ct = Thread.currentThread();
    System.err.println("Animator "+ct.getName()+"[daemon "+ct.isDaemon()+"]: starting "+thread.getName()+"[daemon "+thread.isDaemon()+"]");
  }
  thread.start();
  return finishLifecycleAction(waitForStartedCondition, 0);
}
private final Condition waitForStartedCondition = new Condition() {
com.jogamp.opengl.utilAnimatorgetThreadName

Popular methods of Animator

  • <init>
    Creates a new Animator for a particular drawable.
  • start
  • stop
  • add
  • isStarted
  • display
  • finishLifecycleAction
  • flushGLRunnables
  • handleUncaughtException
  • isAnimating
  • isPaused
  • setDrawablesExclCtxState
  • isPaused,
  • setDrawablesExclCtxState,
  • setThreadGroup,
  • remove,
  • setModeBits,
  • setRunAsFastAsPossible,
  • setUpdateFPSFrames

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • onCreateOptionsMenu (Activity)
  • getContentResolver (Context)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Collectors (java.util.stream)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now