liberty: comment on pthread_cancel
This commit is contained in:
parent
7425355d01
commit
7566f9af82
@ -1209,7 +1209,10 @@ async_make (struct async_manager *manager)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Only allowed from the main thread once the job has been started but before
|
/// 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
|
static void
|
||||||
async_cancel (struct async *self)
|
async_cancel (struct async *self)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user