logo

CuriousTab

CuriousTab

Discussion


Home Technical Questions Operating Systems Comments

  • Question
  • Explain the meaning of mutex.


  • Correct Answer
  • Mutex is the short form for ?Mutual Exclusion object? A mutex allows multiple threads for sharing the same resource The resource can be file A mutex with a unique name is created at the time of starting a program A mutex must be locked from other threads, when any thread that needs the resource When the data is no longer used / needed, the mutex is set to unlock 


  • Operating Systems problems


    Search Results


    • 1. Explain the concept of the Distributed systems?
    • Discuss
    • 2. Differentiate between Complier and Interpreter?
    • Discuss
    • 3. What are necessary conditions for dead lock?
    • Discuss
    • 4. What is Dispatcher?
    • Discuss
    • 5. What is hard disk and what is its purpose?
    • Discuss
    • 6. What is a daemon?
    • Discuss
    • 7. What is pre-emptive and non-preemptive scheduling?
    • Discuss
    • 8. Which among the following are not the children of Swapper or Scheduler?

    • Options
    • A. Process Dispatcher
    • B. Vhand
    • C. Dbflush
    • D. All the above
    • Discuss
    • 9. main() { fork(); printf(?Hello World!?); } Output for the above unix program is

    • Options
    • A. Hello World!
    • B. Hello World!Hello World!
    • C. Hello World
    • D. None
    • Discuss
    • 10. Which among the following is a system call used for process management

    • Options
    • A. fork()
    • B. exec()
    • C. getppid()
    • D. All the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment