Menu

#3 MetarParser is not thread safe

closed
nobody
None
5
2004-01-16
2004-01-13
No

The MetarParser class is not thread safe. This can be
demonstrated by adding more tests to the JUnit test
case and running it. JUnit calls MetarParser for each
test at the same time. The MetarParser class has many
member variables that will be shared as multiple
threads hit call the parser. This causes all kinds of
corruption.

I'll send a diff file via email. This will require many
changes to fix.

Discussion

  • David Castro

    David Castro - 2004-01-16
    • status: open --> closed
     
  • David Castro

    David Castro - 2004-01-16

    Logged In: YES
    user_id=71028

    Yep, ran into this yesterday and fixed. Commited the fix.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.