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 kind of information the linux driver modules (.ko ) files has ?
what is mean by raid and what are all raids available even in software and hardware?
how to configure sendmail server on red hat linux version 4 and what and all we Require?
what is the difference between user APIs and kernel system calls ?
what are Softirq's and how many major numbers be allocated in the linux kernel(2.4) ?
what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?
diff b/w spinlock, seamaphores and mutex and where to use it.
what are the backup utilites on red hat linux 4.0?
What is atomic function / atomic variable ?
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?
what is sudo on linux?
What is the Diffrent between Redhat linux And suse linux