-
Might the granularity of the lock be smaller? I'm not sure.
I feel that reasons why the lock guards the whole function body are:
1) protect senders_ from racing
2) keep the data transfer to the s…
-
在我们上锁和解锁的中间执行过程中,有可能抛异常导致死锁的问题,这时候guard_mutex()就可以解决这种问题,在抛异常之后出了作用域就解锁,不造成死锁问题
-
Feature gate: `#![feature(mapped_lock_guards)]`
This is a tracking issue for `MappedMutexGuard`, `MappedRwLockReadGuard`, and `MappedRwLockWriteGuard`.
This adds types analogous to [`lock_ap…
-
**Which feature do you think can be improved?**
streams need aync lock write,so use tokio to decide the schedule.
**How can it be improved?**
tokio::sync::mutex
**Additional Information**
..
**Be…
-
An update to [rmw_dds_common](https://github.com/ros2/rmw_dds_common/pull/73) has led to build regresses in `rmw_gurumdds_cpp` on the ROS 2 Buildfarm for Rolling. See
- https://build.ros2.org/view/Rb…
-
i have trouble with compilation on raspberry pi but finally got in working.
heres the code:
```
#include
#include
#include
#include
namespace with_sync {
int shared_i = 0;
boost::mute…
-
https://0chain.slack.com/archives/C01V27E2Z9N/p1643292284000600
@dabasov :
> The thread for problem [in discussion](https://0chain.slack.com/archives/C0276HLCN5S/p1643251108183100):
there were …
-
We can reduce dependency on Boost by replacing parts of it with stdlib equivalents:
- boost::unordered_map -> c++ 11 std::unordered_map
- boost::mutex -> c++ 11 std::mutex
- boost::condition_var…
sduzh updated
3 years ago
-
Hi,
I am currently having a problem when making Logger. There appears to be two functions by the names of "lock_guard" and "unique_lock" when making the OpenNI1 directory. One of these functions in …
-
Thread pointer: 0x190adfc0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
140b766f2 …