1. This forum is obsolete and read-only. Feel free to contact us at support.keenswh.com

Please have in mind that GetObjectBuilder is not thread safe

Discussion in 'Modding API' started by joeblack616, Feb 13, 2015.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. joeblack616

    joeblack616 Apprentice Engineer

    Messages:
    225
    Please don't use this method in your update threads.
     
  2. Gwindalmir

    Gwindalmir Senior Engineer

    Messages:
    1,006
    So when can we use it? Is there a doc that describes this?
     
  3. Digi

    Digi Senior Engineer

    Messages:
    2,393
    You can use it anywhere that isn't a separate thread.

    Right now pretty much everything is running on the main thread, if you're creating a separate thread you can't use that method there.
     
  4. Gwindalmir

    Gwindalmir Senior Engineer

    Messages:
    1,006
    Ah.
    I read that as 'update methods'.

    Thanks.
     
Thread Status:
This last post in this thread was made more than 31 days old.