1
Answer

Cross thread data access

Pata

Pata

10y
1.2k
1
Hi,
 
I have a "client process" runing in one thread , and more threads, that are accessing different data that are provided by "client process". I am considering making a "client process" as static class, so that data would be easily accessible by any thread (read only).
Do I have to use thread locking ? What would be the best practice to share (provide) data to another threads?

Answers (1)