Comments (2)
Good question. I haven't thought about mutexes, safe, and locks for years :( Maybe if you showed me a piece of code you would like to get working, it would remind me of any idea I might have once had.
Only a few things come to mind: safe was designed to let you do with your locks and mutexes everything they allow you to do without safe, if this is false, it is a failure on my part! Also, I remember seeing a upgradeable lock implementation in a stack overflow answer from Howard Hinnant (this stuff might be old..!), maybe it contains useful info for you ? I think boost as an upgradeable lock.
If you show me some code, maybe I can be more useful!
from safe.
Yes, boost has an upgradable lock.
Currently I did my thing in a way so I don't need anymore the upgradable lock. So I don't need it anymore, thanks for passing by !
from safe.
Related Issues (17)
- Why is the access class not movable? HOT 2
- Simplification HOT 3
- Some questions about library HOT 3
- It isn't working in my sample HOT 4
- Do not use unnamed namespace in header HOT 3
- safe::impl::MutableIfNotReference<MyType> will not run MyType constructor when compiled under VS2015 HOT 6
- Naming scheme nitpicking: letter case HOT 3
- Suggestions HOT 1
- Make type names more intuitive / closer to the standard library HOT 5
- License questions HOT 9
- Early release of access object? HOT 6
- [Debian] Please change dependency import for .deb packaging HOT 4
- help with enforcing read-only access HOT 9
- Packaging HOT 1
- More recent CMake possible? HOT 2
- Semantics of safe::Safe::operator=() do not feel right HOT 5
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 safe.