[alsa-devel] Alsa-lib 'cancelability'
Clemens Ladisch
clemens at ladisch.de
Mon Aug 22 19:37:23 CEST 2016
Alan Horstmann wrote:
> I am wondering if there is a policy on the thread 'cancelability' /
> 'cancellability' of the functions in Alsa-lib?
Yes. The policy is "don't even think about it".
> The callback runs in it's own thread; when a user requests 'AbortStream'
> a thread cancel is requested.
Alsa-lib is not the only library with this 'policy'. You cannot cancel
threads over whose code you do not have complete control.
Regards,
Clemens
More information about the Alsa-devel
mailing list