[issue14059] Implement multiprocessing.Barrier

Antoine Pitrou report at bugs.python.org
Sat May 26 19:56:22 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> > RawValue uses ctypes, right? That's problematic for platforms which don't 
> > support ctypes.
> 
> Are there many posix systems (we care about) where ctypes doesn't
> work?

It depends what you call "caring about" :-)
But proprietary Unix C compilers generally don't mix very well with
ctypes.

> It would be fairly easy to use memoryview instead of ctypes.  (In fact
> Value/RawValue could be implemented that way when using a typecode
> instead of a ctypes type.)

That would be a good idea then. Also, not using ctypes could make code
theoretically more robust.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14059>
_______________________________________


More information about the Python-bugs-list mailing list