aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/sqlite.hh
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-04-27 01:02:22 +0200
committereldritch horrors <pennae@lix.systems>2024-05-07 14:35:20 +0000
commit964ac8b0e88fb5789b87e33273e42363958d0afb (patch)
treea205072edf06b023d82e77d06f3e463c5169fc4b /src/libstore/sqlite.hh
parent230860dbb8fc061fd55b98cedd134cdc5097ea69 (diff)
libutil: de-callback-ify computeClosure
only two users of this function exist. only one used it in a way that even bears resemblance to asynchronicity, and even that one didn't do it right. fully async and parallel computation would have only worked if any getEdgesAsync never calls the continuation it receives itself, only from more derived callbacks running on other threads. calling it directly would cause the decoupling promise to be awaited immediately *on the original thread*, completely negating all nice async effects. Change-Id: I0aa640950cf327533a32dee410105efdabb448df
Diffstat (limited to 'src/libstore/sqlite.hh')
0 files changed, 0 insertions, 0 deletions