Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] is it not possible to restrict item creation to the world thread instead?

[DiscordArchive] is it not possible to restrict item creation to the world thread instead?

[DiscordArchive] is it not possible to restrict item creation to the world thread instead?

rektbyfaith
Administrator
0
01-29-2025, 03:59 PM
#1
Archived author: Telegrill • Posted: 2025-01-29T15:59:02.076000+00:00
Original source

is it not possible to restrict item creation to the world thread instead?
rektbyfaith
01-29-2025, 03:59 PM #1

Archived author: Telegrill • Posted: 2025-01-29T15:59:02.076000+00:00
Original source

is it not possible to restrict item creation to the world thread instead?

rektbyfaith
Administrator
0
01-29-2025, 03:59 PM
#2
Archived author: Tea • Posted: 2025-01-29T15:59:13.928000+00:00
Original source

no
rektbyfaith
01-29-2025, 03:59 PM #2

Archived author: Tea • Posted: 2025-01-29T15:59:13.928000+00:00
Original source

no

rektbyfaith
Administrator
0
01-29-2025, 03:59 PM
#3
Archived author: Telegrill • Posted: 2025-01-29T15:59:33.857000+00:00
Original source

I guess it has to do with the fact that the spell effect happens in map thread, so there's no way to move it from there?
rektbyfaith
01-29-2025, 03:59 PM #3

Archived author: Telegrill • Posted: 2025-01-29T15:59:33.857000+00:00
Original source

I guess it has to do with the fact that the spell effect happens in map thread, so there's no way to move it from there?

rektbyfaith
Administrator
0
01-29-2025, 04:01 PM
#4
Archived author: Telegrill • Posted: 2025-01-29T16:01:41.876000+00:00
Original source

i mean if you use a task queuing system to defer item creation requests from map threads to the world thread that would soften the risk, but if you're goal is to really make it thread-safe, you can use std::atomic, but it might cause some performance overhead
rektbyfaith
01-29-2025, 04:01 PM #4

Archived author: Telegrill • Posted: 2025-01-29T16:01:41.876000+00:00
Original source

i mean if you use a task queuing system to defer item creation requests from map threads to the world thread that would soften the risk, but if you're goal is to really make it thread-safe, you can use std::atomic, but it might cause some performance overhead

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)