[DiscordArchive] processing map objects will be unsafe?
[DiscordArchive] processing map objects will be unsafe?
Archived author: robinsch • Posted: 2023-01-12T12:56:37.927000+00:00
Original source
processing map objects will be unsafe?
Archived author: robinsch • Posted: 2023-01-12T12:56:52.066000+00:00
Original source
turns into a TC where everything is unsafe
Archived author: Foe • Posted: 2023-01-12T13:00:01.567000+00:00
Original source
Processing map objects is safe since it's done in the map state context
Archived author: robinsch • Posted: 2023-01-12T13:00:45.945000+00:00
Original source
Yea sure, sounded like "multi state" was going to change it.
Archived author: robinsch • Posted: 2023-01-12T13:01:57.708000+00:00
Original source
someone 6 years ago just put a lock on every ELUNA api when suddenly scripts started to crash <:peepoGiggle:915686770727866388>
Archived author: Foe • Posted: 2023-01-12T13:02:59.070000+00:00
Original source
With multi state we have removed pretty much all mutex locking, since each state gets updated by the map update tick instead of the world update tick, so it allows running more map update threads
Archived author: robinsch • Posted: 2023-01-12T13:03:25.815000+00:00
Original source
that sounds like a terrible idea
Archived author: Foe • Posted: 2023-01-12T13:03:32.708000+00:00
Original source
It's not
Archived author: robinsch • Posted: 2023-01-12T13:03:49.185000+00:00
Original source
how do I prevent race conditions then?