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

  • SEARCH
  • Home
  • 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 7920123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:05:56+00:00 2026-06-03T16:05:56+00:00

Can the condition when single process/thread is blocked trying to acquire the same mutex

  • 0

Can the condition when single process/thread is blocked trying to acquire the same mutex be called “deadlock”?

mutex_lock(&mutex) – success
…
mutex_lock(&mutex) – blocked, mutex not released

Seems as condition of “nonshearable resource” doesn’t apply: here is only single process/thread so that no case of nonshearable resource
hold and wait: here is only single process so that no wait for another process to release the requested resource

  • 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-06-03T16:05:57+00:00Added an answer on June 3, 2026 at 4:05 pm

    yes, that is considered, or would potentially* result in deadlock.

    the term is not bound to threads or processes – but requests.

    suppose your lock (mutex) is not reentrant, and suppose your resource is locked when mutated, and that it is an error to mutate the resource from multiple sources. what happens when/if your single threaded process attempts to initiate a new mutation of the data within a mutation and the non-reentrant lock which is locked is requested to lock? deadlock

    ‘potentially’, because you have not specified exactly what type of mutex you are dealing with.

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

Sidebar

Related Questions

How i can make this condition en VB.NET If e.KeyCode = [a-zA-Z0-9] Then 'Blah
I have a SQL which can count the condition(Bad,Poor,Worse) in a day and group
can we dynamically appened where condition on a linq query? for example: class Result
Can you add an Or condition to an entity in the entity framework? For
I am stuck in a condition that I can't keep the sub layout faded
when the optional parameters are null or empty how can i ignore that condition?
Suppose I let the user to write a condition using Javascript, the user can
With Ruby, how can I set a variable based on a condition? Something like:
I'm writing a single threaded program, which sometimes calls blocking methods (ie process.waitFor ).
Can we put into a single regular expression , boolean logic : line starts

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.