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 offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,051
    Blog Entries
    7
    Rep Power
    23

    Default Re: How to avoid race conditions?

    Yes it can.

    kind regards,

    Jos
    The only person who got everything done by Friday was Robinson Crusoe.

Similar Threads

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