[DiscordArchive] they read from the queue right?
[DiscordArchive] they read from the queue right?
Archived author: Whatwhatwhat • Posted: 2025-07-28T14:49:39.125000+00:00
Original source
they read from the queue right?
Archived author: jackpoz • Posted: 2025-07-28T14:49:51.848000+00:00
Original source
https://wotlkdev.github.io/wiki/theory/core_game_loop
![[Image: ycTFXZq.png?ex=690c0cd9&is=690abb59&hm=0...2a41a5cd8&]](https://cdn.discordapp.com/attachments/974733680192913478/1399403531999379527/ycTFXZq.png?ex=690c0cd9&is=690abb59&hm=079f0d048db26cbe635ecead8f186856923060dd4fb3ac06d02df032a41a5cd8&)
Archived author: jackpoz • Posted: 2025-07-28T14:50:01.780000+00:00
Original source
![[Image: ycTFXZq.png?ex=690c0cd9&is=690abb59&hm=0...2a41a5cd8&]](https://cdn.discordapp.com/attachments/974733680192913478/1399403531999379527/ycTFXZq.png?ex=690c0cd9&is=690abb59&hm=079f0d048db26cbe635ecead8f186856923060dd4fb3ac06d02df032a41a5cd8&)
Archived author: jackpoz • Posted: 2025-07-28T14:50:28.016000+00:00
Original source
if you block a Map Update, no Delayed Map Updates and Late Updates and other Game Loops will happen until that Map Update is done
Archived author: Tea • Posted: 2025-07-28T14:50:57.754000+00:00
Original source
im just assuming that he is not doing anything to the code and just experiences breakage with classic client
Archived author: Tea • Posted: 2025-07-28T14:51:25.005000+00:00
Original source
in that case there is no blocking happening
Archived author: jackpoz • Posted: 2025-07-28T14:52:12.945000+00:00
Original source
"i've debugged a cast_spell package and the entire game blocks" I read this as "I put a breakpoint in a spell package and all maps got blocked"
Archived author: Whatwhatwhat • Posted: 2025-07-28T14:52:41.262000+00:00
Original source
```void MapUpdater::WorkerThread()
{
LoginDatabase.WarnAboutSyncQueries(true);
CharacterDatabase.WarnAboutSyncQueries(true);
WorldDatabase.WarnAboutSyncQueries(true);
while (true)
{
MapUpdateRequest* request = nullptr;
_queue.WaitAndPop(request);
if (_cancelationToken)
return;
request->call();
delete request;
}
}```
Archived author: Tea • Posted: 2025-07-28T14:52:45.690000+00:00
Original source
but that should be extremely obvious to anyone
Archived author: Whatwhatwhat • Posted: 2025-07-28T14:52:54.649000+00:00
Original source
but doesn't this loop work independantly of the game loop?