Comments (4)
For more warning, https://pastebin.com/qZSrYc0k.
from smudge.
I wonder if these DATA RACE warnings are actually a problem or just, like notified, warnings.
I looked around a bit and more warnings can be resolved by locking access to variables but it is quite some work to get this right. Would it solve actually errors doing this?
from smudge.
As an example here is a commit that enables save access to the emitCounter
s but there are several more data race warnings beyond this change.
from smudge.
We can certainly do this, but these are primitive values that are only atomically incremented by design. They're designed to be modified by multiple threads.
As far as I can tell, everything that needs to be reads/write locked (the maps) is...
from smudge.
Related Issues (17)
- Race condition in Broadcast HOT 1
- Inefficient locking HOT 1
- Calling AddBroadcastListener is not thread safe HOT 2
- Usage Query HOT 3
- Multicast discovery HOT 13
- IPv6 support HOT 1
- Include node status change source in the gossip messages HOT 3
- Question: Future direction of this project HOT 10
- Pluggable logging HOT 1
- Description for OnBroadcast() not correct HOT 2
- Announcing presence on IPv6 results in error HOT 1
- Any configuration to work with Smudge locally ? HOT 12
- Typo or intentionally? HOT 2
- Provide better documentation about how broadcasts work (and don't work) HOT 3
- Is this project still restricted to LAN? HOT 2
- Smudge vs serf/memberlist HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smudge.