Using Multi threading Java Help

Using Multi threading
If you are like most programmers, having multithreaded support built into the language will be new to you. The key to”utilizing this ‘support effectively is to think . concurrently rather than serially. For example; when you have two subsystems within a program that can execute concurrently, make them individual threads. With the . careful use of multithreading, you can create very efficient programs. A word of caution is in order, however: If you create too many threads, you can actually degrade the performance of your program rather than enhance it. Remember, some overhead is associated with context switching. If you create too many ‘threads, more CPU time will , be spent changing contexts than executing your program! .

  • Feel free to send us an inquiry, we will reply back in hours.


Posted on September 17, 2014 in The Complete Reference

Share the Story

About the Author

Back to Top
Share This