Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6720013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:09:40+00:00 2026-05-26T09:09:40+00:00

From what I have learned about Mutexes – they generally provide a locking capability

  • 0

From what I have learned about Mutexes – they generally provide a locking capability on a shared resources. So if a new thread wants to access this locked shared resource – it either quits or has to continually poll the lock (and wastes processor cycles in waiting for the lock).

However, a monitor has condition variables which provides a more asynchronous way for waiting threads – by putting them on wait queue and thereby not making them consume processor cycles.

Would this be the only advantage of monitors over mutexes (or any general locking mechanism without condition variables) ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T09:09:41+00:00Added an answer on May 26, 2026 at 9:09 am

    Mutexes are low level construct. They just provide mutual exclusion and memory visibility/ordering. Monitors, on the other hand, are higher level – they allow threads to wait for an application specific condition to hold.

    So, in some cases monitors are just overkill over a simple lock/unlock, but in most cases mutexes alone are not nearly enough – so you see them used with one or more condition variables – conceptually using monitors equivalent.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A lot of what I have learned about VB I learned from using Static
iam new to Entity framework i have learned about using SP and how to
I have learned so much from http://www.summerofnhibernate.com/ nhibernate screen casts that i wonder why
I learned of gist.github.com from Mozilla Ubiquity , and have been using it to
I've been studying .Net threading and have learned about the Threading.Task and Threading.Task.Parallel classes.
I have learned from somewhere that if I have a unordered collection (eg. a
I recently learned about code obfuscation. Its nice thing to do, when you have
From what I have learned I need to follow this step to prepare for
I learned about Lazy class in .Net recently and have been probably over-using it.
From my littleexperience in Flex, I learned about Bindable variables, so that the content

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.