Damus
Aras Pranckevičius · 5w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq8dutv4zwlqxmn9vm0p6wrye44mrghau5ytzdjk2vhjc7fdph6sysg5c3sc the context parent pointer is *only* used for cancellation
Arseny Kapoulkine profile picture
@nprofile1q... Right I guess where I am going is that the inner context objects (inside BVH) must correspond to some other parallel fors that are long since completed. So if parent pointers to dead contexts exist for cancellation I wonder what else is in there that refers to other possibly dead objects which never gets cleaned up.
1
Aras Pranckevičius · 5w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq8dutv4zwlqxmn9vm0p6wrye44mrghau5ytzdjk2vhjc7fdph6sysg5c3sc to me the most surprising thing was realizing that one parallel for affects nested parallel for; in ways that outlive the loop. That’s a footgun alright!