BIND 10 #2399: make Logger::getLoggerPtr() thread safe
BIND 10 Development
do-not-reply at isc.org
Wed Oct 24 07:30:11 UTC 2012
#2399: make Logger::getLoggerPtr() thread safe
-------------------------------------+-------------------------------------
Reporter: | Owner:
jinmei | Status: new
Type: | Milestone: Next-Sprint-
defect | Proposed
Priority: | Resolution:
medium | Sensitive: 0
Component: | Sub-Project: DNS
logging | Estimated Difficulty: 0
Keywords: | Total Hours: 0
Defect Severity: N/A |
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by vorner):
And how do you initialize the mutex without the static initialization
fiasco in
a thread-safe manner?
One way to solve the problem could be to make sure the logging is
initialized
before we start the thread.
Or is it so that there are many Logger objects, each of them having this
problem? Then we probably would have to do it the combined way ‒ have
single
global mutex and make sure it is initialized in the non-threaded startup
of
application dynamically.
--
Ticket URL: <http://bind10.isc.org/ticket/2399#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list