Results 1 to 28 of 28

Thread: [RESOLVED] Seperating timeControl from GUI Thread using BGW

Hybrid View

  1. #1

    Thread Starter
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Re: [RESOLVED] Seperating timeControl from GUI Thread using BGW

    I already have the parts of "GatherInput", "DoLogic" and "Move" seperated in BGW. So far my GameLoop was run on the GUI thread, and it was hampered whenever I did some sole GUI-actions. So I reasoned the GameLoop should be on a different thread.
    Using your technique, the GameLoop would be a "busy loop", but not a "busy wait" since its not waiting at all. To my understanding a "busy loop" shouldn't be used?
    Are you suggesting to use such a "busy loop", or am I misunderstanding?
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

  2. #2
    Bad man! ident's Avatar
    Join Date
    Mar 2009
    Location
    Cambridge
    Posts
    5,401

    Re: [RESOLVED] Seperating timeControl from GUI Thread using BGW

    One other thing, and im sorry if i have missed it but what exactly is being updated? Label?, textbox? *shrug*
    My Github - 1d3nt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width