Need for a lock when setting the global `Tracer`
See original GitHub issueHey @mikebryant
Currently we have a lock used when setting opentracing.Tracer
(and also, indirectly, when creating a Tracer
through the OPENTRACING_TRACER_CALLABLE
value), and I’m wondering whether this is needed.
Before Django 1.10, the middleware is supposed to be initialized only once when the first request takes place (https://docs.djangoproject.com/en/1.9/topics/http/middleware/#init)
As of Django 1.10, the middleware will be initialized only once at server start (https://docs.djangoproject.com/en/1.10/topics/http/middleware/#init-get-response)
Is there any advanced need to take a lock? I remember you mentioning forking, but I have forgotten the details now 😉
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
Trace.UseGlobalLock Property (System.Diagnostics)
Gets or sets a value indicating whether the global lock should be used. public: static property bool UseGlobalLock { bool get(); void set(bool...
Read more >Protect the position of events in Logic Pro - Apple Support
Select one or more events, then choose Functions > Lock SMPTE Position (or use the corresponding key command). Control-click the event, then choose...
Read more >28.1 Locks: The Basic Idea - cs.wisc.edu
To use a lock, we add some code around the critical section like this: 1 lock_t mutex; // some globally-allocated lock 'mutex'. 2...
Read more >How Safecrackers Can Unlock an ATM in Minutes ... - WIRED
At Defcon this week, security researcher Mike Davis will show how he can pick the lock of an ATM safe in no time,...
Read more >Star Citizen Tobii Eye Tracker 5 Settings Guide - YouTube
Are you struggling with your Tobii eye tracker 5 settings in Star Citizen? In this video we walk you through every Tobii setting...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks Mike!
Closing as this has been solved for long time 😉