Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] You mean single queue for updates and requests?

[DiscordArchive] You mean single queue for updates and requests?

[DiscordArchive] You mean single queue for updates and requests?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
11-19-2024, 02:47 PM
#1
Archived author: walkline • Posted: 2024-11-19T14:47:34.723000+00:00
Original source

You mean single queue for updates and requests?
rektbyfaith
11-19-2024, 02:47 PM #1

Archived author: walkline • Posted: 2024-11-19T14:47:34.723000+00:00
Original source

You mean single queue for updates and requests?

rektbyfaith
Administrator
0
11-19-2024, 02:47 PM
#2
Archived author: Takenbacon • Posted: 2024-11-19T14:47:42.747000+00:00
Original source

Yeah
rektbyfaith
11-19-2024, 02:47 PM #2

Archived author: Takenbacon • Posted: 2024-11-19T14:47:42.747000+00:00
Original source

Yeah

rektbyfaith
Administrator
0
11-19-2024, 02:48 PM
#3
Archived author: walkline • Posted: 2024-11-19T14:48:07.146000+00:00
Original source

Yeah, it should work
rektbyfaith
11-19-2024, 02:48 PM #3

Archived author: walkline • Posted: 2024-11-19T14:48:07.146000+00:00
Original source

Yeah, it should work

rektbyfaith
Administrator
0
11-19-2024, 02:58 PM
#4
Archived author: Takenbacon • Posted: 2024-11-19T14:58:10.615000+00:00
Original source

Now it's bugging me I can't remember my thought process on that. I originally wrote it without the list there and changed my mind for some reason lol
rektbyfaith
11-19-2024, 02:58 PM #4

Archived author: Takenbacon • Posted: 2024-11-19T14:58:10.615000+00:00
Original source

Now it's bugging me I can't remember my thought process on that. I originally wrote it without the list there and changed my mind for some reason lol

rektbyfaith
Administrator
0
11-19-2024, 02:59 PM
#5
Archived author: Takenbacon • Posted: 2024-11-19T14:59:57.795000+00:00
Original source

Doesn't need to notify. It modifies the shared_ptr so it's directly modifying what the threads are accessing as well. Primitive type so no concerns about thread safety (but marking it as atomic would prevent certain analyzers from getting pissed off)
rektbyfaith
11-19-2024, 02:59 PM #5

Archived author: Takenbacon • Posted: 2024-11-19T14:59:57.795000+00:00
Original source

Doesn't need to notify. It modifies the shared_ptr so it's directly modifying what the threads are accessing as well. Primitive type so no concerns about thread safety (but marking it as atomic would prevent certain analyzers from getting pissed off)

rektbyfaith
Administrator
0
11-19-2024, 03:28 PM
#6
Archived author: walkline • Posted: 2024-11-19T15:28:16.054000+00:00
Original source

But it can still lead to a data race. It's not that critical, I think in the worst-case scenario, it would just send to the client an invalid bid and bidder, but it's not the end of the world.
rektbyfaith
11-19-2024, 03:28 PM #6

Archived author: walkline • Posted: 2024-11-19T15:28:16.054000+00:00
Original source

But it can still lead to a data race. It's not that critical, I think in the worst-case scenario, it would just send to the client an invalid bid and bidder, but it's not the end of the world.

rektbyfaith
Administrator
0
11-19-2024, 03:42 PM
#7
Archived author: Takenbacon • Posted: 2024-11-19T15:42:03.449000+00:00
Original source

Nah, not in C with a primitive type using basic operations. It's bad to do but wouldn't lead to anything disastrous by any means.
rektbyfaith
11-19-2024, 03:42 PM #7

Archived author: Takenbacon • Posted: 2024-11-19T15:42:03.449000+00:00
Original source

Nah, not in C with a primitive type using basic operations. It's bad to do but wouldn't lead to anything disastrous by any means.

rektbyfaith
Administrator
0
11-19-2024, 03:43 PM
#8
Archived author: Takenbacon • Posted: 2024-11-19T15:43:06.300000+00:00
Original source

I did mean to mark them as atomic regardless I just forgot to, but if I do end up removing that list then it's unnecessary anyways
rektbyfaith
11-19-2024, 03:43 PM #8

Archived author: Takenbacon • Posted: 2024-11-19T15:43:06.300000+00:00
Original source

I did mean to mark them as atomic regardless I just forgot to, but if I do end up removing that list then it's unnecessary anyways

rektbyfaith
Administrator
0
11-19-2024, 03:44 PM
#9
Archived author: Takenbacon • Posted: 2024-11-19T15:44:40.382000+00:00
Original source

C# is pretty bad about doing that whole "half written" invalid data even on primitives
rektbyfaith
11-19-2024, 03:44 PM #9

Archived author: Takenbacon • Posted: 2024-11-19T15:44:40.382000+00:00
Original source

C# is pretty bad about doing that whole "half written" invalid data even on primitives

rektbyfaith
Administrator
0
11-19-2024, 03:50 PM
#10
Archived author: walkline • Posted: 2024-11-19T15:50:08.659000+00:00
Original source

In this case, you have this SearchableAuctionEntriesMap in AuctionHouseSearcher so you can directly modify bid related data?
rektbyfaith
11-19-2024, 03:50 PM #10

Archived author: walkline • Posted: 2024-11-19T15:50:08.659000+00:00
Original source

In this case, you have this SearchableAuctionEntriesMap in AuctionHouseSearcher so you can directly modify bid related data?

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