[Patches] [ python-Patches-410471 ] linuxaudiodev lacks Py_BEGIN/END_THREAD

noreply@sourceforge.net noreply@sourceforge.net
Tue, 10 Apr 2001 14:21:16 -0700


Patches item #410471, was updated on 2001-03-21 22:23
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=410471&group_id=5470

>Category: Modules
Group: None
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Guido van Rossum (gvanrossum)
Summary: linuxaudiodev lacks Py_BEGIN/END_THREAD

Initial Comment:
The system calls in the linuxaudiodev module need to
be wrapped with:

  Py_BEGIN_ALLOW_THREADS
  Py_END_ALLOW_THREADS

so that audio I/O can occur async/multithreaded.

I'm including a patch to fix this, for Python 2.0.

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-04-10 08:23

Message:
Logged In: YES 
user_id=6380

Good catch.  I hesitate to fix this so close to the 2.1
release.

I've also recategorized it as a patch.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=410471&group_id=5470