I'm writing a server application which uses some common data for each call.
This data takes a very long time to load, and can't be loaded for each call. The data is read-only.
How do I pass a reference to this data to a server thread, or access that data from within the thread?
This data takes a very long time to load, and can't be loaded for each call. The data is read-only.
How do I pass a reference to this data to a server thread, or access that data from within the thread?