-
I would expect [the following code](https://godbolt.org/z/35KMqqWjP) produced a `Future::poll()` impl with the `noinline` attribute.
```rust
#![feature(noop_waker)]
use std::task::{Context, W…
-
***
cargo run --release
Finished `release` profile [optimized] target(s) in 0.79s
Running `target/release/brush_bin`
"sparse/0/cameras.bin" "sparse/0/images.bin"
[2024-10-26T16:15:28Z ER…
-
Very often when writing integration tests I need to wait for a condition to be true to continue (for example the database record is there, or an SMS message has arrived). I use the function below repe…
-
## Description
I used C++tensorrt and found that the inference performance actually decreases in multi-threaded situations.
For example, for a single inference of one image, the execution time of e…
-
### Steps to reproduce
Use this plugin, and create an interrupted purchase situation (kill the app in the middle of a transaction)
Restart the app, and notice the transaction does not get sent to …
-
When porting my software to boost 1.86.0, I found a strange error that I narrowed down to the following example.
`test.cpp`:
```c++
#include
int main() { return 0; }
```
```
$ g++ -DB…
-
I build with the following options an autotest with emscripten 3.1.35:
`pthread PROXY_TO_PTHREAD emrun EXIT_RUNTIME ASYNCIFY`
Then I have a time-long method I want to execute.
If directly …
-
-
*@redboltz commented on Feb 28, 2020, 6:22 AM UTC:*
I tried to use MSG_ZEROCOPY with asio on Linux.
The motivation that I tried it is avoiding a copy from user memory to kernel memory.
Boost version…
-
Hi, I have a few questions to ask about the source code that are out of my reach.
1. **The lock use**
(1) In `async.hxx`, we immediately release the lock after we set the result, but in later if-bl…