[DiscordArchive] I'm wondering if item creation is thread safe. We have this ObjectGuidGenerator, which is not thread
[DiscordArchive] I'm wondering if item creation is thread safe. We have this ObjectGuidGenerator, which is not thread
Archived author: walkline • Posted: 2025-01-29T14:41:30.237000+00:00
Original source
I'm wondering if item creation is thread safe. We have this ObjectGuidGenerator, which is not thread safe (_nextGuid is not atomic), so I assume item creation should happen in the world thread. But I assume that a spell effect creating an item would be executed in the map thread, which would result in a race condition, right?