If a multi threaded Java program has started numerous number
of threads, at any point in time how to know which thread is
currently executing/running ?
Re: If a multi threaded Java program has started numerous number
of threads, at any point in time how to know which thread is
currently executing/running ?
Re: If a multi threaded Java program has started numerous number
of threads, at any point in time how to know which thread is
currently executing/running ?
Re: If a multi threaded Java program has started numerous number
of threads, at any point in time how to know which thread is
currently executing/running ?
Re: If a multi threaded Java program has started numerous number
of threads, at any point in time how to know which thread is
currently executing/running ?
Check executing/running current thread by
currentThread() [Method]
public static Thread currentThread()
Find the currently executing thread.
Returns:
the currently executing thread
Re: If a multi threaded Java program has started numerous number
of threads, at any point in time how to know which thread is
currently executing/running ?
Re: If a multi threaded Java program has started numerous number
of threads, at any point in time how to know which thread is
currently executing/running ?