answersLogoWhite

0

What else can I help you with?

Continue Learning about Engineering

What is processes threads?

different paths of control in a program that a computer might run at the same time if it has parallel processing support for multithread execution. threads and processes are two ways of supporting multitasking on a uniprocessor or multiprocessing on a multiprocessor. threads are lighter weight: take less OS resources to implement but only support limited protection and security. processes take more OS resources but can support full protection and security. Many operating systems support both processes and threads, allowing each process to have many threads.


If 2 different threads hit 2 different synchronized methods in an object at the same time will they both continue?

Of course. The synchronized keyword will ensure that only one thread will ever be allowed to execute a method at once. If two threads are attempting to access two different methods, then each method only has one thread executing it.


How process and threads relate to CPU architecture?

A process is a program in execution,it needs resources like CPU time,memory,files and i\o devices to accomplish its task. Threads are lightweight process


Explain about threads in computer networks?

A thread is the sequence of instructions followed by a CPU, and is an independently dispachable unit in the run queue. A process can start and manage multiple threads, each managing an aspect of the overall processing. The operating system can schedule the threads independently, allowing them CPU time if they are ready, or blocking them if they are waiting on something, such as an IO completion. In a network process, such as a web server, there can be many things going on at the same concurrent time. Threads are an ideal solution to the problem of managing all of these things, because the main process does not need to poll each sub-process (thread) to see if it needs or is ready to do work.


What is thread based multitasking?

-> Difference between process based and thread based multitasking: 1) threads share the same address space where as process doesn't. 2) context switching between threads is usually less expensive than between processes. 3) cost of communication between threads is relatively low.

Related Questions

What machine allowed many threads to be spun at one time?

The spinning jenny, invented by James Hargreaves in 1764, allowed multiple threads to be spun simultaneously. This multi-spindle spinning frame significantly increased yarn production and played a crucial role in the industrial revolution, enhancing efficiency in textile manufacturing. Its design enabled a single worker to operate several spindles at once, transforming the textile industry.


The allowed the spinning of many threads at one time?

flying shuttle


Did the cotton gin and the cotton jenny both spin thread?

it's called the Spinning Jenny and no, the Cotton Gin just took the seeds out while the Spinning Jenny actually spun thread. The spinning Jenny spun 8 threads at a time which sped up cloth making a good bit, the technology before the spinning Jenny only did 1 thread at a time, but it still saved them time


What many threads to be spuun at one time?

The thread machine was invented by James Hargreaves. When it first started out a thread machine could spin around eight threads but after a while it got up about 120 threads at one time.


What is the probability of scoring 4 on a spinner?

The answer depends on how many sides the spinner has and how they are numbered. It also depends on how many time it is spun.


When was Threads of Time - album - created?

Threads of Time - album - was created on 15-12-06.


What actors and actresses appeared in Threads of Time - 2012?

The cast of Threads of Time - 2012 includes: Shaofeng Feng Han Qin Regina Wan


What is the difference between ring spun and open end yarn?

Ring spun yarn is when the yarn is both twisted and wound at the same time. Open ended spun yarn is when the yarn is twisted by rotating at the hap or break in the flow.


How many time out s are you allowed?

non really


How many players are allowed on the basketball court at one time?

In basketball, there are five players from each team allowed on the court at one time.


What is the past tense for spin?

The past tense of spin is spun, but span is also an accepted but less common option. The word "span" is an archaic form of the past tense. Word searches have found spun is used 78 - 92 % of the time, compared to spanbeing used 8 - 22 % of the time.


How many players are allowed to play fencing?

2 at a time