Subject: Re: Python with threads
To: Ty Sarna <tsarna@endicor.com>
From: Dan Winship <danw@ximian.com>
List: tech-pkg
Date: 04/19/2001 02:03:25
> It builds that way, but it won't run very well with Pth because it's
> non-preemptive. The tests will fail, for example.

Pth works *much* better as a pthreads replacement (like, at all :-) if
you configure it with --enable-syscall-hard. It warns you that that code
isn't tested, but I've been running with it successfully for months now.

Has anyone ever seen pth as currently configured actually work for
threading in an app that wasn't specifically written to pth? And if not,
is it ok to change the flags in the package Makefile?

-- Dan
(sending from a multithreaded app linked against pth :)