[swift-users] Threads and weak references
Howard Lovatt
howard.lovatt at gmail.com
Fri Sep 22 04:38:19 CDT 2017
Hi,
I was using a weak reference in a concurrent application and and the main
thread wasn't seeing an update to a class's property made by another
thread. If I replaced the weak reference with a closure, the problem went
away.
Is there any documentation that describes this behaviour?
Thanks in advance for any help,
-- Howard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170922/41ed1f08/attachment.html>
More information about the swift-users
mailing list