[Python-Dev] pre-PEP: The Safe Buffer Interface

Greg Ewing greg@cosc.canterbury.ac.nz
Mon, 29 Jul 2002 14:47:28 +1200 (NZST)


Scott Gilbert <xscottg@yahoo.com>:

> The need for this derives from wanting to do more than one thing at a time
> in Python (multiple processors with multiple threas, asynchronous I/O, DMA
> transers, ???).

In any situation like that, you should be using some form
of locking on the object concerned. The Python buffer
interface is not the right place to deal with these
issues.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+