Question

What are Strong Semaphores? What type of Data structure they use to signal process?

What are Strong Semaphores? What type of Data structure they use to signal process?

Homework Answers

Answer #1

A semaphore would be the signalling mechanism type and a thread which is waiting on a semaphore can be signalled by another thread.

It will be using two operations ie., and 1) .wait and 2) . Signal for the process synchronization.

A semaphore is a controlled flag which is used for indicating whether or not a processor is executing a critical section. When the semaphore flag value becomes 0 it means that the shared memory is available to any requesting processor and if it is 1 it means that the memory is not available to other processors

Strong Semaphores is in which all the process will be waiting on the same semaphore which is queued. Strong semaphore will guarantee the freedom from starvation.

A semaphore is used for solving the critical section problem. A semaphore would follow the policy of first-in-first-out ie., (FIFO) queue is called strong semaphore. In strong semaphore, processes will be removed from the Front of queue and will be added into Rear(tail) of queue i.e. in strong semaphore the process insertion and deletion will happen on different ends.
Since, strong semaphore will follow the first-in-first-out (FIFO) policy data structure to handle the multi processing system, therefore the queue is the best data structure used for the signal process.

Know the answer?
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
Similar Questions
Your raw sensor signal is 6.5 mV, and you are using an instrumentation amplifier to process...
Your raw sensor signal is 6.5 mV, and you are using an instrumentation amplifier to process it. The amplifier has a CMRR of 80 dB and a differential mode gain of 40 dB. If the RF noise on the leads from the thermocouple sensor to the data logger is 79 mV, what will the noise level be on the amplified signal in mV? (Type in a two-decimal number.)
What type of market efficiency a technical stock trader believes in - weak, semi-strong, or strong...
What type of market efficiency a technical stock trader believes in - weak, semi-strong, or strong form efficient markets?
What type of products would use Process Costing and why? Please provide a comprehensive response to...
What type of products would use Process Costing and why? Please provide a comprehensive response to this question.
what type of signal transduction mechanism converts receptor binding by epinephrine into a change in insulin...
what type of signal transduction mechanism converts receptor binding by epinephrine into a change in insulin secretion? Gi Gs Rab
You can use either the CHAR data type or the VARCHAR data type to store character...
You can use either the CHAR data type or the VARCHAR data type to store character data. What are the differences between the two? Are there any disadvantages to using VARCHAR? Ask students why the data type for POSTAL_CODE in the REP and CUSTOMER tables is CHAR and not SMALLINT or INTEGER? Is the length of the field large enough?
What are the trade-offs between name type equivalence and structure type equivalence?
What are the trade-offs between name type equivalence and structure type equivalence?
Consider T4 and T5. What structure(s) on T4 articulate with what structure(s) on T5? What type...
Consider T4 and T5. What structure(s) on T4 articulate with what structure(s) on T5? What type of cartilage lines these structures?
1. The process of desensitizing a cell to the presence of a signal is called ____________________....
1. The process of desensitizing a cell to the presence of a signal is called ____________________. State one mechanism by which this is accomplished. 2. What are second messengers and what is their role in cell signaling?
Why does a bushiness use a Chart for showing their Data, and what type of chart...
Why does a bushiness use a Chart for showing their Data, and what type of chart is used the most by businesses?
What is an infusible plastic? What type of polymeric structure is it likely to have?
What is an infusible plastic? What type of polymeric structure is it likely to have?
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT