What is multi-tasking? Types?
Answer / ram nidadavolu
A multithreaded program contains two or more parts that can
run concurrently, Each part a program is called thread and
each part that defines a separate path of execution.
Thus multithreading is a specified from of multitasking .
There are two distinct types of multitasking .
Process: A Process is , in essence , a program that is
executing.
2 Process-based :is heavy weight- allows you run two or
more programs concurrently.
Eg: you can use JAVA compiler at the same time you are using
text editor.
Here a program is a small unit of code that can be
dispatched by scheduler .
Thread-based: is Light weight- A Program can perform two or
more tasks simultaneously.
Creating a thread:
Eg: A text editor can formate at the same time you can
print, as long as these two tasks are being perform separate
threads.
| Is This Answer Correct ? | 2 Yes | 0 No |
What is runnable?
What is re-entrant. Is session beans reentrant. Is entity beans reentrant?
what's the main difference between unix os and linux os?
What is the name of the state, when a thread is executing?
What state does a thread enter when it terminates its processing?
What is preemptive and Non-preemptive Time Scheduling?
What are Benefits of Connection Pooling?
Hello, I'm java developer. My skill is programming with java,jsp, struts, struts2+spring, hibernate, eclipse, tomcat, mysql,Oracle,Middlegen and other open source technology. I'm interest work any web base project that use my ability above. The thing is that I have never got any chance to work in this field though i am very much comfort with my skills. So if any body want me then i will happily join you. Also I have also some of my friends if you. If you interest to outsource any project to me then also you are welcome. you can reach me by email at me4bangalore@yahoo.in
explain the flow of struts?
How are commas used in the intialization and iteration parts of a for statement?
i want documentation of text file splitter & merger of advanced java
What is bean? Where can it be used?