/* (non-Javadoc)
@see com.ibm.ws.sib.utils.ras.SibTr#exit(com.ibm.websphere.ras.TraceComponent, java.lang.String)
508649
public static void exit(TraceComponent tc, String methodName) {
    if(isTracing()) SibTr.exit(tc, methodName);

  }
310823
public <T> T exit(T result) {
        if (instanceofLAL && logger.isTraceEnabled(ENTRY_MARKER)) {
            FormattingTuple tp = MessageFormatter.format(EXIT_MESSAGE_1, result);
            ((LocationAwareLogger) logger).log(EXIT_MARKER, FQCN, LocationAwareLogger.TRACE_INT, tp.getMessage(), new Object[] { result }, tp.getThrowable());
        }
        return result;
    }
707616
void exit2(final OtpErlangPid from, final OtpErlangPid to,
            final OtpErlangObject reason) {
        try {
            super.sendExit2(from, to, reason);
        } catch (final Exception e) {
        }
    }
959165
public void terminate() {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            Tr.entry(tc, "terminate");
        }

        AsyncLibrary.shutdown();
        groups.clear();

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            Tr.exit(tc, "terminate");
        }
    }
535710
public void terminate() throws InterruptedException, IOException {
        final Computer computer = toComputer();
        if (computer != null) {
            computer.recordTermination();
        }
        try {
            // TODO: send the output to somewhere real
            _terminate(new StreamTaskListener(System.out, Charset.defaultCharset()));
        } finally {
            try {
                Jenkins.get().removeNode(this);
            } catch (IOException e) {
                LOGGER.log(Level.WARNING, "Failed to remove "+name,e);
            }
        }
    }
951635
public static void exit(int status) {
    // Embedded H2O path (e.g. inside Hadoop mapper task).
    if( embeddedH2OConfig != null )
      embeddedH2OConfig.exit(status);
    // Flush all cached messages
    Log.flushStdout();

    // Standalone H2O path,p or if the embedded config does not exit
    System.exit(status);
  }
860074
public static void traceStateChanged(final TraceComponent traceComponent) {
        if (instrumentation == null) {
            return;
        }
        if (!injectAtTransform && traceComponent.isEntryEnabled()) {
            final Class<?> traceClass = traceComponent.getTraceClass();
            if ((traceClass != null) && (traceClass != LibertyRuntimeTransformer.class)) {
                LibertyRuntimeTransformer.addTransformer();
                traceComponentByClass.put(traceClass, new WeakReference<TraceComponent>(traceComponent));
                //if (retransformExecutor == null) {
                    retransformClass(traceClass);
//                } else {
//                    // IBM Hot Code Replace Bug:
//                    // Run async on another thread so this thread can return from <clinit>
//                    retransformExecutor.execute(new Runnable() {
//                        @Override
//                        public void run() {
//                            retransformClass(traceClass);
//                        }
//                    });
//                }
            }
        }
    }
553552
public void exit() {
        if (currentView == null) {
            GdxUtilities.exit();
        } else {
            currentView.getStage().addAction(Actions.sequence(getViewHidingAction(currentView),
                    Actions.run(GdxUtilities.getApplicationClosingRunnable())));
        }
    }
657012
protected synchronized void terminate(int reason)
                    throws ObjectManagerException {
        final String methodName = "terminate";
        if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
            trace.entry(this, cclass, methodName, new Object[] { new Integer(reason) });

        if (transactionReference != null) {
            Transaction transaction = (Transaction) transactionReference.get();
            /**
             * PM00131 - transaction is coming from a WeakReference, check it isn't null.
             * If we've lost the reference, there isn't any point making a new one
             * just to set a reason code on it. Nobody will have a reference to the
             * new object with which to retrieve the code.
             **/
            if (transaction != null)
                transaction.setTerminationReason(reason);
        }
        setState(nextStateForTerminate);
        // Any attempt by any therad to do anything with this Transaction
        // from now on will result in a StateErrorException.

        if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
            trace.exit(this, cclass, methodName);
    }
1241314
void mark()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
    {
      SibTr.entry(tc, "mark");
      SibTr.exit(tc, "mark");
    }

    _marked = true;
  }
451917
public void exiting(Object object) {
        if (!getLogger().isLoggable(Level.FINER)) {
            return;
        }
        FrameInfo fi = getLoggingFrame();
        getLogger().exiting(fi.className, fi.methodName, object);
    }
1193361
function exit()
{
	if (my_MotorDriver_obj)
	{
		my_MotorDriver_obj = null;
		MotorDriver_lib.cleanUp();
	}
	MotorDriver_lib = null;
	console.log("Exiting");
	process.exit(0);	
}
1294950
private void exit() {
        if (exitAction != null) {
            SwingUtilities.invokeLater(exitAction);
        }
        dim.setReturnValue(Dim.EXIT);
    }
406349
protected final void bail(final ExitCode e) {
        if (e.isFailure()) {
            final StringBuilder bldr = new StringBuilder();
            bldr.append("\n");
            bldr.append(getApplicationShortName());
            bldr.append(" failed with error ");
            bldr.append(e);
            bldr.append(".");
            err.println(bldr.toString());
        }

        systemExit(e);
    }
767351
public static final void exit(TraceComponent tc, String methodName) {
        TrConfigurator.getDelegate().exit(tc, methodName);
    }
293568
private Exit exit(final Exit exit) {
        final long start = System.currentTimeMillis();
        final long max = this.options.lifetime();
        return new Exit.Or(
            exit,
            new Lifetime(start, max)
        );
    }
281131
function tasync_trace_end(args, index) {
        Future.call(this);

        this.caller = FRAME;
        this.position = ++FRAME.subframes;
        this.subframes = 0;

        if (TASYNC_TRACE_ENABLE) {
            this.trace = new Error();
        }

        this.args = args;
        this.index = index;
    }