[python-win32] PyParallel - an experimental "multicore" fork of Python 3 for Windows

Trent Nelson trent at snakebite.org
Mon Aug 3 14:15:56 CEST 2015


On Sun, Aug 02, 2015 at 10:04:09PM -0700, Glyph wrote:
> 
> > On Aug 2, 2015, at 5:10 PM, Trent Nelson <trent at snakebite.org>
> > wrote:
> > 
> > (OS X has GCD, which comes close.)
> 
> For what it's worth, libdispatch has been ported to other POSIX
> platforms:
> https://lists.macosforge.org/pipermail/libdispatch-dev/2011-April/000485.html
> <https://lists.macosforge.org/pipermail/libdispatch-dev/2011-April/000485.html>

Hmmm, it looks like pthread_workqueue has made it over too, which is a
good sign.  I know when FreeBSD first ported GCD it wasn't able to add
in the "scheduler feedback" aspect that allowed the threadpool library
to create new threads on demand:

    https://github.com/tpn/pdfs/blob/master/Grand%20Central%20Dispatch%20-%20FreeBSD%20Dev%20Summit%20(18%20Sep%202009).pdf

    (See the page starting with "pthread_workqueue"... although I just
     realized that PDF is nearly 6 years old!)

The GCD approach is definitely the best option for getting PyParallel
working on other platforms, so this is interesting.

> -glyph

    Trent.


More information about the python-win32 mailing list