Sverker Eriksson
Sverker Eriksson
@Maria-12648430 Thanks for the OTP lesson 🙂.
> Could it be that fun2ms translates the map update syntax into `map_put` calls? It could I suppose. I'm not familiar with the fun2ms code though. You would still need...
> * Wouldn't it be better to have this be `map_put` and `map_remove`? Yes maybe. I called them `maps_put` and `maps_remove` to refer to `maps:put` and `maps:remove`. > * Should...
@jhogberg Could it be this simple or am I missing something?
Rebased onto OTP-23.3.4 + 184634a23120fde29029bc7a765c45838f19c510 which is mergeable to all newer release branches. Also tweaked solution with a global atomic to get some "randomness".
What if you change `erts_sched_local_random_nosched_state` to an `Uint` and just do `rand_state = erts_sched_local_random_nosched_state++;`
Fix #8209 merged to maint (OTP 27.3) and scheduled for maint-24,25,26.
maint-26 is currently locked as someone is making a 26 patch release. I don't even know if the testing label works for other branches than maint and master (maybe it...
I can add it manually to the maint-26 testing as well, after the current release work is done, if you don't have access to our lab machines.
Ok, that did not work. It conflicted with 1f33624018df3e3df634e75ec787fcfba8ea9ccd which was merged into OTP-27.0 and is part of both maint and master. I can put it into maint-26 testing when...