Re: Alsa-lib 'cancelability'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux