Results 101 comments of Sebastian Urban

You don't need async closures for that. You can create a wrapper function like this: use futures::future::FutureExt; use std::future::Future; use std::io::Result; use std::pin::Pin; // 0.3.30 pub type CharacteristicWriteFun = Box...

I can reproduce this using BlueZ 5.68. Older versions of BlueR have exactly the same problem with this version of BlueZ, thus the issue is probably caused by BlueZ. Could...

BlueZ version 5.72 seems to run better, but I still get some hangs.

Could you try with Linux 6.9.5?

Since it seems to be resolved, I am closing this issue.

https://github.com/surban/usb-gadget/blob/5ebe622dd8dbf789a3298db4632ea4c96b4d13cd/src/function/net.rs#L94-L100 If `dev_addr` or `host_addr` are None they are not written to functionfs and should be assigned automatically by the kernel, hopefully unique.

Hi, I have a similar problem and would like to integrate stuck worker detection in my watchdog system. Have you made any progress with this approach or found an alternate...

> Someone put together this tool: https://github.com/facebookexperimental/rust-shed/tree/main/shed/tokio-detectors This seems to follow a completely different approach. It submits tasks and measures the delay until the task is executed. If I understand...

I can submit a PR, but how should I provide the thread id in the worker metrics? Providing [`std::thread::ThreadId`](https://doc.rust-lang.org/std/thread/struct.ThreadId.html) would not be enough, since there is no way to get...