-
https://docs.rs/fjall/latest/fjall/struct.WriteTransaction.html
It's hard to use across threads in async context, internally it's using a Mutex, is it not possible to implement the Send bound?
I…
-
While implementing a [lock-free-queue](https://github.com/ConorWilliams/libfork/blob/main/include/libfork/core/ext/deque.hpp) I noticed that the `pop` function was about twice as slow on clang vs gcc.…
-
- 参考
- [C++ 并发编程(从C++11到C++17)](https://paul.pub/cpp-concurrency/)
- [difference between "mutex" and "atomic operation"](https://stackoverflow.com/questions/32833786/is-there-any-difference-bet…
-
The 4.4 release caused a performance regression on the Serial backend, for the Trilinos Intrepid2 Sierra test.
Bisecting showed that the first commit with the regression was the merge of #7080.
The …
-
## Expected Behavior
Previously it was compiling in Windows using clang-cl 13.
## Actual Behavior
Failing with message:
` 'boost::sml::back::policies::thread_safe::create_lock()::lock_guard::~l…
-
### Discussed in https://github.com/exult/exult/discussions/376
Originally posted by **Zhelkas** July 29, 2023
-In the Yew jail, Goth the guard sleeps on the empty cot in the prison cell. G…
-
Here's example code which causes deadlock without unsafe code.
```rust
extern crate futures;
extern crate qutex;
use qutex::*;
use futures::prelude::*;
fn main() {
let lock = QrwLock:…
-
Provide an interface for registering async callbacks for parameters being updated. Be careful that the mutex is not locked when these functions are called so if they call `get()` it doesn't create a d…
-
Check whether all compilers in base supports the '#pragma once' guard lock. Do also consider corner cases, like multiple copies of the header being included, from different paths.
Reported by: Ravi P…
-
Currently, if you are to use any of the locks provided by the standard library, you are forced to handle lock poisoning
```rust
use std::sync::*;
let hello = Mutex::new(2);
std::thread::scop…