answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What are the different things shared by different threads of a single process?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can a multithread solution using multiple user level threads achieve better performance on a multiprocessor system than on a single processor system?

A multithreaded system comprising of multiple user-levelthreads cannot make use of the different processors in a multiprocessorsystem simultaneously. The operating system sees only a single processand will not schedule the different threads of the process on separateprocessors. Consequently, there is no performance benefit associatedwith executing multiple user-level threads on a multiprocessor system.


Is there possible deadlock in single process?

ans :NO because as we know that for deadlock must have follow one of the given condition. 1. mutual exclusion:here is only single process so that no case of nonsharable resource . 2. hold and wait: here is only single process so that no wait for another process to realease the requested resource. 3. no preemption: single process so that no need to taken force fully. 4.circular wait: in single process no contain the cycle. so that single process never enter into the deadlock state Of course, all of the above can be true if the single process has multiple threads of execution. Those threads can be deadlocked just like processes


What is a java threads?

A program can have various threads, which are program parts that run simultaneously. If the computer has a single processor, time will be split among the different threads (perhaps a few milliseconds for one thread or sub-process, a few milliseconds for another, etc.), so that the different threads don't really run simultaneously, but it may seem so. If a computer has multiple processors - quite common with modern processors, such as the Intel I3, I5 or I7 - then the computer will truly run multiple threads at once.


What is the differences between a process and a thread in Linux?

A single process can have multiple threads that share global data and address space with other threads running in the same process, and therefore can operate on the same data set easily. Processes do not share address space and a different mechanism must be used if they are to share data.If we consider running a word processing program to be a process, then the auto-save and spell check features that occur in the background are different threads of that process which are all operating on the same data set (your document). processIn computing, a process is an instance of a computer program that is being sequentially executed[1] by a computer system that has the ability to run several computer programs concurrently. Thread A single process may contain several executable programs (threads) that work together as a coherent whole. One thread might, for example, handle error signals, another might send a message about the error to the user, while a third thread is executing the actual task of the...


What is the difference between single and double screw threads?

screw thread are single threads which means they are not double


Is it possible to have a deadlock involving only a single process?

no deadlock can only occur when processes access shared memory and the following conditions must be met: -mutual exclusion -hold and wait -no preemption -circular wait. As soon as any of the 4 conditions fail,no deadlock. For example there cannot be circular wait for the case of one process.Who is waiting for who?The single process have access to all the available ressources.


Are Word and PowerPoint different processes or threads of a single process?

They are different processes. While both are part of the Microsoft Office suite, and their data is stored in the same area of the Windows Registry, they are two different executable programs. If you open the Task Manager, then click the processes tab, you can see that they are running as different processes.


What is the Difference between a single threaded file server and a multi-threaded file server?

Single thread means that the processor will wait until one 'process' is complete before it opens a new thread or 'process'. Multi-thread can handle multiple threads simultaneously making it faster and more responsive.


How many threads can be run on a single CPU pipeline?

5


Run two BGP process on single router?

No, You cannot run two BGP process on a Single Router. Yes, it is possible if you use different VRFs


In relation to Java what is a thread?

A Java Thread is a thread of execution in a Java Program. A Java Virtual Machine can have a single application running multiple threads, which is known as concurrency. Threads are what make the program run. Each thread has a different priority, and when the machine queue fills up, the threads are executed in the order of their priority.


What is servlet?

server side program or single instance multiple threads.