Pata

Pata

  • NA
  • 7
  • 0

Cross thread data access

Nov 16 2013 10:05 AM
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)