• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Reply to: The Mutex Thread

Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "The Mutex Thread"

Collapse

  • eek
    replied
    unlock

    This definitely shows the cost of synchronisation of threads. There is a 1 minute overhead (2x 30 second wait between posts) for what was a 2 second job.

    Leave a comment:


  • eek
    replied
    lock (the one in general).

    Leave a comment:


  • BrilloPad
    replied
    If I want to post in both do I need 2 locks or 1?

    Leave a comment:


  • d000hg
    replied
    It's kind of funny/cool that the binary thread genuinely could be used in a CS lecture as a real-world example of threading issues.

    Leave a comment:


  • doodab
    started a topic The Mutex Thread

    The Mutex Thread

    Please post in here before updating either binary counting thread and post again when you are done.
Working...
X