Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] and how do you control which thread it runs on?

[DiscordArchive] and how do you control which thread it runs on?

[DiscordArchive] and how do you control which thread it runs on?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
07-17-2024, 09:00 PM
#1
Archived author: Tea • Posted: 2024-07-17T21:00:57.089000+00:00
Original source

and how do you control which thread it runs on?
rektbyfaith
07-17-2024, 09:00 PM #1

Archived author: Tea • Posted: 2024-07-17T21:00:57.089000+00:00
Original source

and how do you control which thread it runs on?

rektbyfaith
Administrator
0
07-17-2024, 09:01 PM
#2
Archived author: jackpoz • Posted: 2024-07-17T21:01:01.282000+00:00
Original source

before that it was BeginInvoke and EndInvoke hell
rektbyfaith
07-17-2024, 09:01 PM #2

Archived author: jackpoz • Posted: 2024-07-17T21:01:01.282000+00:00
Original source

before that it was BeginInvoke and EndInvoke hell

rektbyfaith
Administrator
0
07-17-2024, 09:01 PM
#3
Archived author: jackpoz • Posted: 2024-07-17T21:01:12.006000+00:00
Original source

it runs on the .NET thread-pool
rektbyfaith
07-17-2024, 09:01 PM #3

Archived author: jackpoz • Posted: 2024-07-17T21:01:12.006000+00:00
Original source

it runs on the .NET thread-pool

rektbyfaith
Administrator
0
07-17-2024, 09:01 PM
#4
Archived author: Tea • Posted: 2024-07-17T21:01:20.571000+00:00
Original source

ah yes, "magic"
rektbyfaith
07-17-2024, 09:01 PM #4

Archived author: Tea • Posted: 2024-07-17T21:01:20.571000+00:00
Original source

ah yes, "magic"

rektbyfaith
Administrator
0
07-17-2024, 09:01 PM
#5
Archived author: jackpoz • Posted: 2024-07-17T21:01:33.274000+00:00
Original source

if you want to control the thread, then you go to the old way of managing your own threads
rektbyfaith
07-17-2024, 09:01 PM #5

Archived author: jackpoz • Posted: 2024-07-17T21:01:33.274000+00:00
Original source

if you want to control the thread, then you go to the old way of managing your own threads

rektbyfaith
Administrator
0
07-17-2024, 09:01 PM
#6
Archived author: jackpoz • Posted: 2024-07-17T21:01:44.211000+00:00
Original source

but for short lived tasks it's better to use the threadpool
rektbyfaith
07-17-2024, 09:01 PM #6

Archived author: jackpoz • Posted: 2024-07-17T21:01:44.211000+00:00
Original source

but for short lived tasks it's better to use the threadpool

rektbyfaith
Administrator
0
07-17-2024, 09:02 PM
#7
Archived author: jackpoz • Posted: 2024-07-17T21:02:00.467000+00:00
Original source

as spawning threads is resource intensive (compared to not spawning them )
rektbyfaith
07-17-2024, 09:02 PM #7

Archived author: jackpoz • Posted: 2024-07-17T21:02:00.467000+00:00
Original source

as spawning threads is resource intensive (compared to not spawning them )

rektbyfaith
Administrator
0
07-17-2024, 09:02 PM
#8
Archived author: Foe • Posted: 2024-07-17T21:02:02.935000+00:00
Original source

Yeah there's no concurrency with coroutines, so it's quite a lot simpler
rektbyfaith
07-17-2024, 09:02 PM #8

Archived author: Foe • Posted: 2024-07-17T21:02:02.935000+00:00
Original source

Yeah there's no concurrency with coroutines, so it's quite a lot simpler

rektbyfaith
Administrator
0
07-17-2024, 09:02 PM
#9
Archived author: jackpoz • Posted: 2024-07-17T21:02:45.850000+00:00
Original source

Shauren: fun fact with BotFarm, spawning 1000 bots with each update loop as a task doesn't work that well
rektbyfaith
07-17-2024, 09:02 PM #9

Archived author: jackpoz • Posted: 2024-07-17T21:02:45.850000+00:00
Original source

Shauren: fun fact with BotFarm, spawning 1000 bots with each update loop as a task doesn't work that well

rektbyfaith
Administrator
0
07-17-2024, 09:03 PM
#10
Archived author: jackpoz • Posted: 2024-07-17T21:03:35.238000+00:00
Original source

the overhead of creating and polling each Task is just too much, but I haven't compared it to having 1000 threads
rektbyfaith
07-17-2024, 09:03 PM #10

Archived author: jackpoz • Posted: 2024-07-17T21:03:35.238000+00:00
Original source

the overhead of creating and polling each Task is just too much, but I haven't compared it to having 1000 threads

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