How multithreading work s in Java ?

@Ganesh44 (5547)
India
August 4, 2008 1:39pm CST
Do u know how multithreading works in java ?? I know u can have many threads to handle many opration simultaneously....u creat and assign processor all the threads ? Thanku Ganesh
1 person likes this
2 responses
@mr_mlk (364)
5 Aug 08
Such open-ended questions are best answered with a tutorial. As it happens Sun have a tutorial on thread: http://java.sun.com/docs/books/tutorial/essential/concurrency/ u creat and assign processor all the threads? No. Threads do not get a processor all to themselves, and (in Java at least) you don't assign a thread to a processor; the OS handles such low level things.
@ferdzNK (3211)
• Philippines
5 Aug 08
This is heavy stuff! I never new java is into multi-threading just now, I just read MT is not implemented on demand but a pool of them are initialized at startup and somewhat in a wait state.