|
|
Subscribe / Log in / New account

isFrozen() and check-then-act races

isFrozen() and check-then-act races

Posted Aug 1, 2025 15:01 UTC (Fri) by arsen (subscriber, #161285)
In reply to: isFrozen() and check-then-act races by arsen
Parent article: Deep immutability for Python

... and there's no way to get data into another thread unless its a copy or frozen (I misread your original post), and so, something getting frozen can only happen in the owner thread, which is executing the code shown above


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds