Grieve (grieve) wrote,
Grieve
grieve

Threads in my Java

I managed to write my first threaded java application, and then immediately discovered a race condition. I will have to go back to the drawing board on that one. I think the solution is actually rather simple, but I am going to have to review 3rd party code (which is where the race condition actually is), and make sure I can make it thread safe. If I cannot I am going to have to use the one big mutex approach which is always unsavory.
Subscribe

  • Science Tattoos

    I stumbled across this fascinating page which is a collection (at least links to a collection on Flickr) of tattoos about and inspired by science. I…

  • Whoops!

    I forgot renew my domain name this year, and lost it for a few days. Fortunately I was able to regain it before it was permanently released.

  • Physics and Photons

    A long time ago some co-workers and I were discussing a sphere (of any size really) made of a perfect one-way mirror, such that light (photons)…

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment