Results 1 to 2 of 2
  1. #1
    Azuki is offline Member
    Join Date
    Mar 2013
    Posts
    7
    Rep Power
    0

    Default How to avoid race conditions?

    Can synchronizing Threads prevent race condition?

  2. #2
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,371
    Blog Entries
    7
    Rep Power
    20

    Default Re: How to avoid race conditions?

    Yes it can.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. How to avoid many if else conditions
    By Addymails in forum New To Java
    Replies: 9
    Last Post: 03-22-2012, 12:39 PM
  2. Race Conditions in Java - 2 Examples
    By javin.paul in forum Reviews / Advertising
    Replies: 0
    Last Post: 02-26-2012, 05:12 AM
  3. Simulating a car race
    By Chygoz in forum New To Java
    Replies: 5
    Last Post: 02-18-2012, 08:43 PM
  4. Security hole by Race condition
    By simorgh in forum Threads and Synchronization
    Replies: 0
    Last Post: 03-24-2010, 04:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •