[slf4j-dev] [Bug 176] Initialization (getILoggerFactory) is not thread safe

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Tue Nov 20 02:42:29 CET 2012


http://bugzilla.slf4j.org/show_bug.cgi?id=176

--- Comment #19 from Jed Wesley-Smith <jed at atlassian.com> 2012-11-20 02:42:28 CET ---
What is the status of this? If you want an alternative thread-safe
initialisation that is not bespoke, we have a class that encapsulates lazy but
thread-safe initialisation:

https://bitbucket.org/atlassian/atlassian-util-concurrent/src/master/src/main/java/com/atlassian/util/concurrent/LazyReference.java

Docs:
https://bitbucket.org/atlassian/atlassian-util-concurrent/wiki/LazyReference_and_ResettableLazyReference

This class is Apache licensed. It has essentially no real dependencies and
could easily be copied in to the slf4j source tree.

-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the slf4j-dev mailing list