[alsa-devel] pyalsa with threads allowed for python (Py_BEGIN_ALLOW_THREADS & Py_END_ALLOW_THREADS)

Jaroslav Kysela perex at perex.cz
Mon May 19 08:45:56 CEST 2008


On Sat, 17 May 2008, ki.ber.kom.uni.st wrote:

> the other solution is in particular case of receive_events to put
> Py_*_ALLOW_THREADS
> 
>     Py_BEGIN_ALLOW_THREADS;
>     ret = poll(self->receive_fds, self->receive_max, timeout);
>     Py_END_ALLOW_THREADS;

Added to our repository. Thanks.

					Jaroslav

-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.



More information about the Alsa-devel mailing list