what is the diff b/w MUTEX and semaphore?
Answers were Sorted based on User's Feedback
Answer / chandra
Hi,
I THINK mute x one problem are there its buy waiting or
spin lock semaphore are avoid this problem
| Is This Answer Correct ? | 1 Yes | 9 No |
Answer / alka
mutex only ranges from 0 to 1.it is binary
semaphore is 2 types
binary
counnting
binary is like utex
counting can handle multiple threads at a time, no range
limit
so meanwhile it is not recommended
| Is This Answer Correct ? | 2 Yes | 13 No |
what is the difference between user APIs and kernel system calls ?
what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?
What do fork() internally call?
How to give the root permision to users?
What are the signals we have in Linux
1. Where the History file can be located? 2. How will you harden the server? 3. Diff between Raid 1 and Raid 5? 4. What is the largest disk size can be used in LVM? 5. How will you remove a PV from lvm without any data loss? 6. What is the diff between ext3 and ext2 File system? 7. How we can use resize2fs, what is the purpose? 8. What is the purpose of LVM? Why it is used? 9. If the FS is in read-only mode, so we cannot create any file. How will you fix it? 10. How to create swap partition after OS installation? 11. What is the diff between ssh and telnet? 12. How to find out the dependency required for a package?
I would like to know whether Simado and Setu products are they EPBX or not ?
why the kernel panic error was appering?
what are Softirq's and how many major numbers be allocated in the linux kernel(2.4) ?
how to create a ftp user on redhat linux 4.0?
What is the Diffrent between Redhat linux And suse linux
what kind of information the linux driver modules (.ko ) files has ?