Threads Section Index | Page 7

How much overhead is associated with management of a ThreadLocal object ?

How can I control which waiting thread is notified when I call notify()?

What causes ThreadDeath to happen? I've noticed that Thread.sleep() invokes them somehow. But why? How to avoid them?

What is a thread dump, how do I obtain one, and how do I read it?

What is the keyword volatile used for? What sort of situations should I use volatile when developing a multi-threaded application?

How do I schedule a task to run at a certain time?

How do I schedule a task to run repeatedly?

How do wait and notify really work?

How can I actually, really deallocate a Thread to release the memory? Setting thread = null does not work!

Is it possible to interrupt a running thread? InterruptedException is only thrown if the thread is interrupted while in the sleep state and calling interrupt() on a running thread has no effect.

What is Apartment Threading, and how does it apply to Java?

What is the meaning of calling a method or object "thread-safe?"

How can I synchronize access to my service object so that multiple clients may have read-only access, but a client that needs to write gets exclusive access?

What happens to multithreading in java if the operating system does not support it?

How do I detect end of stream in a non-blocking manner when reading a stream through URL/URLConnection, if available() reports nothing to read on end of stream?

About | Sitemap | Contact