KrEngine is Thread safe?

Help
Winston
2006-02-22
2013-06-04
  • Winston

    Winston - 2006-02-22

      When create Sprite outside SDL_TIMER_EVENT,
    for example, SDL_MOUSEBUTTONDOWN, Kyra crashed frequently.
      May I get your suggestion and clue for this? Thanks!

     
    • Lee Thomason

      Lee Thomason - 2006-02-27

      No, it is not. The scenario you describe will crash i consistently. There is no workaround in Kyra.

      The workaround in the client is to post an event from the timer back to the main thread, and call Kyra from the main thread.

      Hope that helps!
      lee

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks