[ET Trac] #2832: possible race condition in LoopControl
Roland Haas
trac-noreply at einsteintoolkit.org
Tue Nov 5 10:02:33 CST 2024
#2832: possible race condition in LoopControl
Reporter: Roland Haas
Status: new
Milestone:
Version:
Type: bug
Priority: major
Component:
Comment (by Roland Haas):
Oh, right. So that won’t quite prevent cache line sharing. Unfortunately I cannot check alignment with a static assert since both types are allocated dynamically \(`lc_thread_info_t` via a `new` the other as part of a `std::vector<lc_fine_thread_comm_t>` \(and I’d have no idea how that one would have interacted with the `CCTK_ATTRIBUTE_ALIGNED(128)`\).
So I guess it would have to be using 2\*128 or at least 2 times the cache line size if that one is know at compile time.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2832/possible-race-condition-in-loopcontrol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20241105/deab90c9/attachment.htm>
More information about the Trac
mailing list