LK-Test-Solutions / OpenTDK

The open tool development kit provides java libraries for efficient implementation of data processing tools. Primarily the libraries have been build to close gaps within the process of test automation, but they can be helpful for implementing any application that needs to collect data from different sources, transform the data and generate output in different formats (textual, graphical etc.).
BSD 2-Clause "Simplified" License
3 stars 1 forks source link

Make MLogger instance volatile if it has to be thread safe #14

Open SoccerFive18 opened 2 years ago

SoccerFive18 commented 2 years ago

This forces a read and a write memory barrier to make sure one thread does not get or set a wrong state of the object because another thread is using it at the moment.