Question

1. Three threads are created by a process with pid 10. How many threads of execution...

1. Three threads are created by a process with pid 10. How many threads of execution are there after the creation assuming nothing has time to terminate?

2. Where are the PCBs for processes stored?

(i) In an individual process’s memory in user-space.

(ii) In a kernel data structure.

(iii) Managed by some user-space OS service.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer 1.  Threads are basically parts of a process. These parts work efficiently by dividing virtually by distributed computing concepts. Here three threads are created from a process, there it may be constant or can be customized for more and less.

Answer 2. The process control block contains some specific terms with values related to a process. The PCB stores some values in it. And, this Process Control Block must be stored in a memory location with limited privileges to a user in user-space. This should be accessible by a user easily.

In some cases, the Process Control Block is kept at the starting point of the kernel stack for security reasons.

Add a comment
Know the answer?
Add Answer to:
1. Three threads are created by a process with pid 10. How many threads of execution...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Answer this question Properly Please find out how many processes and how many threads are created:...

    Answer this question Properly Please find out how many processes and how many threads are created:                              pid_t pid;             pid = fork();             if (pid == 0) { /* child process */                   fork();                   thread_create(...); } fork(); a) Write working codes from the pseudo-code above. Add appropriate codes to ensure that you have time to observe processes and threads using ‘top’ and ‘H’ keystroke. b) Draw a simple diagram showing the processes and threads in their parent/child...

  • Write separate programs, as described below, that create 7 processes according to the parent/child hierarchy shown...

    Write separate programs, as described below, that create 7 processes according to the parent/child hierarchy shown on the right, where P0 is a parent to P1 and P2, etc.Before each parent terminates, it must wait until all of its children have terminated.When created, every process should print its index (0 – 6), its PID, and its parent’s PID. Each process does no work and prints a message indicating when it is done. In your report, include your program output and...

  • This is for a Unix class. Please help me out. I am attaching a skeletal code of the program below, it just needs ti be filled in. Below is a skeletal code of the program. Fork a child process...

    This is for a Unix class. Please help me out. I am attaching a skeletal code of the program below, it just needs ti be filled in. Below is a skeletal code of the program. Fork a child process and then use the parent for reading and the child for writing.  This is just a way of sending and receiving messages asynchronously. /* ************************************************************* * Utility functions * ************************************************************** */ static void usageError(const char * progName, const char *msg) {...

  • TRUE/FALSE QUESTIONS:  Foundations of Information Security and Assurance 1. There is a problem anticipating and testing for...

    TRUE/FALSE QUESTIONS:  Foundations of Information Security and Assurance 1. There is a problem anticipating and testing for all potential types of non-standard inputs that might be exploited by an attacker to subvert a program. 2. Without suitable synchronization of accesses it is possible that values may be corrupted, or changes lost, due to over-lapping access, use, and replacement of shared values. 3. The biggest change of the nature in Windows XP SP2 was to change all anonymous remote procedure call (RPC)...

  • 1.what is the fundamental of knowledge management cycle or process? 2. what is knowledge cycle? 3....

    1.what is the fundamental of knowledge management cycle or process? 2. what is knowledge cycle? 3. what is intellectual capital and three dimension of intellectual capital? 4. what is human capital? discusion with example 5. what is knowledge sharing and organization learning? 6. what is organization culture? 7. cultural impact of knowledge sharing? 8. what is data mining? 9. what is knowledge discover? UNIVERSAL Chapter 1 Knowledge Management Overview UBSS SCHOOL SYDNEY Introduction to Knowledge Management (KM) In a knowledge...

  • 10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated...

    10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated sludge operation that adversely affect effluent quality with origins in the engineering, hydraulic and microbiological components of the process. The real "heart" of the activated sludge system is the development and maintenance of a mixed microbial culture (activated sludge) that treats wastewater and which can be managed. One definition of a wastewater treatment plant operator is a "bug farmer", one who controls the aeration...

  • I have this case study to solve. i want to ask which type of case study...

    I have this case study to solve. i want to ask which type of case study in this like problem, evaluation or decision? if its decision then what are the criterias and all? Stardust Petroleum Sendirian Berhad: how to inculcate the pro-active safety culture? Farzana Quoquab, Nomahaza Mahadi, Taram Satiraksa Wan Abdullah and Jihad Mohammad Coming together is a beginning; keeping together is progress; working together is success. - Henry Ford The beginning Stardust was established in 2013 as a...

  • Hi there! I need to compare two essay into 1 essay, and make it interesting and...

    Hi there! I need to compare two essay into 1 essay, and make it interesting and choose couple topics which im going to talk about in my essay FIRST ESSAY “Teaching New Worlds/New Words” bell hooks Like desire, language disrupts, refuses to be contained within boundaries. It speaks itself against our will, in words and thoughts that intrude, even violate the most private spaces of mind and body. It was in my first year of college that I read Adrienne...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT