aboutsummaryrefslogtreecommitdiff
path: root/liberty.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2025-09-21 18:59:16 +0200
committerPřemysl Eric Janouch <p@janouch.name>2025-09-21 18:59:16 +0200
commit7566f9af827f3eecaddb09f5d11c590bd631d559 (patch)
treeb19f7d8665246d6768509a8cccbbea87fc8b2810 /liberty.c
parent7425355d015be69434240902a691563dce2be49a (diff)
downloadliberty-7566f9af827f3eecaddb09f5d11c590bd631d559.tar.gz
liberty-7566f9af827f3eecaddb09f5d11c590bd631d559.tar.xz
liberty-7566f9af827f3eecaddb09f5d11c590bd631d559.zip
liberty: comment on pthread_cancelHEADorigin/mastermaster
Diffstat (limited to 'liberty.c')
-rw-r--r--liberty.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/liberty.c b/liberty.c
index 0690e89..b13a388 100644
--- a/liberty.c
+++ b/liberty.c
@@ -1209,7 +1209,10 @@ async_make (struct async_manager *manager)
}
/// Only allowed from the main thread once the job has been started but before
-/// the results have been dispatched
+/// the results have been dispatched.
+///
+/// Note that it may in practice lead to memory leakage, although that's
+/// an implementation issue: https://eissing.org/icing/posts/rip_pthread_cancel/
static void
async_cancel (struct async *self)
{