[swift-users] Threads and weak references
    Joe Groff 
    jgroff at apple.com
       
    Mon Sep 25 11:25:35 CDT 2017
    
    
  
> On Sep 22, 2017, at 2:38 AM, Howard Lovatt via swift-users <swift-users at swift.org> wrote:
> 
> 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,
Can you provide a more concrete example of the behavior you're seeing, and the behavior you expect?
-Joe
    
    
More information about the swift-users
mailing list