hai venkat ,
thread means a program with,
December 26, 2006 at 10:39 AM
hai venkat , thread means a program with single flow of control is called thread.for ex if u take main() a thread is created and start exection the statements what u r written in that. multithread means execution of multi threads at the sametime. this very useful concept i think y bcoz for ex: if u take two p1,p2 executing these two threads by using time slicing or priority .so thse two will be done at the same time. for ex:if two threds are calling the same method in that sitution dead lock has occurs for avoding this we r using the concept of synchronisation.put the method calling as synchronised.
View All Comments
| View Tutorial