Closed LaKraven closed 9 years ago
Okay, I'm trying to reduce the code overhead involved in making independently-threadsafe basic types (String, Integer, Double etc. etc.)
A good way would be to have a simple Interfaced Class, specialized through Generics for various types.
That way we can define:
TThreadSafeString = class(TLKThreadSafeType<String>);
The above is a simple example... but this warrants investigation to reduce code overhead and simplify thread-safety for different basic types.
Introduced in 33dde53
Okay, I'm trying to reduce the code overhead involved in making independently-threadsafe basic types (String, Integer, Double etc. etc.)
A good way would be to have a simple Interfaced Class, specialized through Generics for various types.
That way we can define:
TThreadSafeString = class(TLKThreadSafeType<String>);
The above is a simple example... but this warrants investigation to reduce code overhead and simplify thread-safety for different basic types.