Thread safety is a programming concept applicable in the context of multi-threaded programs. A method or piece of code is thread-safe if it only manipulates shared data structures in a manner that guarantees safe execution by multiple threads at the same time.
Example: Methods used in Logger, to write a log file, should be threading safe for an application that runs under multi-threading environment.
Example: Methods used in Logger, to write a log file, should be threading safe for an application that runs under multi-threading environment.
No comments:
Post a Comment