Write a small dc shell script to find number of FF in the design
No Answer is Posted For this Question
Be the First to Post Answer
What is the important aspect of a real-time system ?
what is the need of creating 4GB of pages in linux?
What is the state of the processor, when a process is waiting for some event to occur?
what is difference between IRQ and FRQ ?
Describe different job scheduling in operating systems.
Write a small dc shell script to find number of FF in the design
What do you mean by deadlock?
What is a mission critical system ?
what is major concerns about any RTOS selection ?
Explain the difference between microkernel and macro kernel.
5 Answers Infosys, Tech Mahindra,
I have been working on one thread which manage and control a couple of circular buffers. It has api for other thread to access. As the thread grows bigger and bigger, I split it as 3 to 4 threads which need to share common buffers, and also their api could be used by other threads, (not these three threads). Inside api, I also allow other threads to access these three threads' common buffers(more than one buffer). SO I have to use mutex to avoid race condition . But I found mutex will be everwhere in all the threads when they update the common buffer. I am wondering whether I could reduce mutex usage(more mutex will hure my system performance). any ideas for how to reduce mutex usage meanwhile to avoid race condition. Thanks
If two processes which shares same system memory and system clock in a distributed system, What is it called?