Jump to content
  • take two threads to update world


    babilly
    • Status: suggested
      Main Category: Core / Mangos Daemon
      Sub-Category: Code Enhancement
      Version: 0.20 Milestone: 20 Priority: unknown
      Implemented Version: 0.20

    take two threads to update world

    hi:


    In mangos ,it has one thread called world ,which uses update() function to fresh the whole world , and I find it
    will check and update a serial of timers at each time of update , which means the later timers must wait for the prior complete update , so I am puzlled if we can use one more thread to update thoses
    timers ,and will this can make server more efficiency ?


    Thanks!


    User Feedback

    Recommended Comments

    sadly mangos is a single threaded application, with the objectmgr passing out unique id's to all parts of the system.
    Having more than one doing that job will cause the server to come crashing down.

     

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use