Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] they read from the queue right?

[DiscordArchive] they read from the queue right?

[DiscordArchive] they read from the queue right?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
07-28-2025, 02:49 PM
#1
Archived author: Whatwhatwhat • Posted: 2025-07-28T14:49:39.125000+00:00
Original source

they read from the queue right?
rektbyfaith
07-28-2025, 02:49 PM #1

Archived author: Whatwhatwhat • Posted: 2025-07-28T14:49:39.125000+00:00
Original source

they read from the queue right?

rektbyfaith
Administrator
0
07-28-2025, 02:49 PM
#2
Archived author: jackpoz • Posted: 2025-07-28T14:49:51.848000+00:00
Original source

https://wotlkdev.github.io/wiki/theory/core_game_loop
rektbyfaith
07-28-2025, 02:49 PM #2

Archived author: jackpoz • Posted: 2025-07-28T14:49:51.848000+00:00
Original source

https://wotlkdev.github.io/wiki/theory/core_game_loop

rektbyfaith
Administrator
0
07-28-2025, 02:50 PM
#3
Archived author: jackpoz • Posted: 2025-07-28T14:50:01.780000+00:00
Original source


[Image: ycTFXZq.png?ex=690c0cd9&is=690abb59&hm=0...2a41a5cd8&]
rektbyfaith
07-28-2025, 02:50 PM #3

Archived author: jackpoz • Posted: 2025-07-28T14:50:01.780000+00:00
Original source


[Image: ycTFXZq.png?ex=690c0cd9&is=690abb59&hm=0...2a41a5cd8&]

rektbyfaith
Administrator
0
07-28-2025, 02:50 PM
#4
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
rektbyfaith
07-28-2025, 02:50 PM #4

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

rektbyfaith
Administrator
0
07-28-2025, 02:50 PM
#5
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
rektbyfaith
07-28-2025, 02:50 PM #5

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

rektbyfaith
Administrator
0
07-28-2025, 02:51 PM
#6
Archived author: Tea • Posted: 2025-07-28T14:51:25.005000+00:00
Original source

in that case there is no blocking happening
rektbyfaith
07-28-2025, 02:51 PM #6

Archived author: Tea • Posted: 2025-07-28T14:51:25.005000+00:00
Original source

in that case there is no blocking happening

rektbyfaith
Administrator
0
07-28-2025, 02:52 PM
#7
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"
rektbyfaith
07-28-2025, 02:52 PM #7

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"

rektbyfaith
Administrator
0
07-28-2025, 02:52 PM
#8
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;
}
}```
rektbyfaith
07-28-2025, 02:52 PM #8

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;
}
}```

rektbyfaith
Administrator
0
07-28-2025, 02:52 PM
#9
Archived author: Tea • Posted: 2025-07-28T14:52:45.690000+00:00
Original source

but that should be extremely obvious to anyone
rektbyfaith
07-28-2025, 02:52 PM #9

Archived author: Tea • Posted: 2025-07-28T14:52:45.690000+00:00
Original source

but that should be extremely obvious to anyone

rektbyfaith
Administrator
0
07-28-2025, 02:52 PM
#10
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?
rektbyfaith
07-28-2025, 02:52 PM #10

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?

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)