c# - How to make values transfer between multiple threads -
i have 2 threads:
thread 1 fetching xml web service in loop.
thread 2 parsing xml fetched thread 1 , showing in ui.
please tell me best way pass xml data thread 1 thread 2 it’s retrieved thread 1?
thread 1 fetching xml , thread 2 consuming it.
to have created circular linked list , thread 1 puts xml there in linked list , thread 2 gets xml , remove list, , it’s working fine.
please tell me if there other better approach using.
looks need
Comments
Post a Comment