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

noreply@sourceforge.net noreply@sourceforge.net
Tue, 16 Oct 2001 13:36:21 -0700


Patches item #410471, was opened at 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: Closed
Resolution: Out of Date
Priority: 3
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-10-16 13:36

Message:
Logged In: YES 
user_id=6380

CLosed without prejudice.

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

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-08-09 09:29

Message:
Logged In: YES 
user_id=6380

I tried applying this patch but it got several failed hunks
-- no surprise since it was for Python 2.0.

I'll leave it open for another month (until 9 Sept 2001) and
if someone hasn't provided a patch that works with current
CVS by then, I'll close it.

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

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