Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
thread safety
* Made the static instances volatile so all threads needs to read their state before accessing them * Made the initialize method synchronized so threads have to wait for the first method to finish inialisation before attempting and finding it already initialized. Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
- Loading branch information