Arvid Norberg

Results 1037 comments of Arvid Norberg

> is it possible to get python typings for future releases? I don't know how to do that, but patches are welcome!

which information or data can only be retrieved via a synchronous call? fine-grained locking isn't necessarily more efficient. It means the main thread would need to spend a lot of...

the shared state for that mutex is exactly one `bool`. That bool is accessed very rarely (just when the call completes, to signal back to the calling thread). That `bool`...

I believe the simplest approach would be something like: ``` struct torrent_handle { void post_file_progress(); void post_piece_availability(); void post_download_queue(); // ... }; struct file_progress_alert : torrent_alert { span files() const;...

> But unfortunately it is being modified by libtorrent for some reasons. Is it really intended? Is there some "web seeds exchange" feature or something similar so web seeds are...

yeah, I thought there was a warning in the documentation about that. The intention of the overload that takes an io_context is to create the session without an internal thread

it looks like there's still a segfault: https://github.com/arvidn/libtorrent/actions/runs/3033234023/jobs/4881323494#step:5:932

oh, I see. this PR is meant to demonstrate the problem

GitHub regularly does not notify me of new issues anymore, for some reason (it used to, but it's been years). It might be a cap to stay within a smaller...

@southernedge you can always look at the CI workflows for examples of how to build. (both github action and appveyor). are you deliberately trying to link against libpthread on windows?...