Menu

Thread safe?

Ivo Dvorak
2004-11-29
2013-05-20
  • Ivo Dvorak

    Ivo Dvorak - 2004-11-29

    Hi, is TinyXML thread safe? Did not find any note about this in the docs.
    In sources I found that CondenseWhitespace is not thread safe. Are there another such global variables that would make the code not thread safe? Any experiences with it?

    Thank you

    Ivo

     
    • Lee Thomason

      Lee Thomason - 2004-12-06

      The short answer is no. A little more info on this thread:

      http://sourceforge.net/forum/forum.php?thread_id=1117845&forum_id=172103

      lee

       
      • Ivo Dvorak

        Ivo Dvorak - 2004-12-06

        When I do not use STL and avoid static variables and I do not access TiXml objects from different threads - can I use it multithreaded? Anyone knows?

        Thanks

        Ivo

         
    • egene

      egene - 2004-12-22

      Hmmm . . . I looked through the code, and didn't see any static variables other than those used in a constant manner:

      utf8ByteTable
      errorString
      entity
      condenseWhiteSpace

      What am I missing?

      P.S. My STL is thread safe.

       

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.