Julian Foad wrote on Fri, Jan 28, 2022 at 12:30:01 +0000:
> We could fetch pristines in a backgroud thread, making the "foreground"
> operation thread wait, just in time, for each pristine before accessing
> it. Positives: the end result is efficient. Negatives: we don't have
> precendent for threaded operations,

We have the svn_task_* API (subversion/include/private/svn_task.h:38),
although nothing seems to use it yet, on any branch.

We have subversion/include/private/svn_thread_cond.h to support it.

We use threads in the test suite:
subversion/tests/svn_test_main.c:do_tests_concurrently()

> and they can be tricky, so unknown and potentially large effort to
> complete it.

Even with the API building blocks in place, there's still effort
involved, of course.

Cheers,

Daniel

Reply via email to