Re: Mixing Python and C threads
by Stephane Larouche other posts by this author
Aug 13 2007 10:30AM messages near this date
?ENJOY free satellite tv on your pc?
|
Dictionary viewer and editor
Aahz <aahz <at> pythoncraft.com> writes:
>
> In article <mailman.430.1183825935.22759.python-list <at> python.org>,
> =?utf-8?b?U3TDqXBoYW5l?= Larouche <stephane.larouche <at> polymtl.ca> wrote:
> >Aahz <aahz <at> pythoncraft.com> writes:
> >>
> >> Can you reproduce your problem with stub code that only creates threads?
> >> If yes, that indicates that you're messing with a thread structure
> >> somewhere. Note that because you're using gcc, it's possible there's a
> >> thread bug on Windows with your tool chain. You might want to check for
> >> bug reports.
> >
> >Here's the simplest piece of code I could think of to reproduce the problem:
>
> Good work. This is about as far as my expertise can take you; if nobody
> responds, you might try the new C/API mailing list (capi-sig).
If anybody followed this thread, you'll be pleased to know that the mingw gcc
4.2.1 "technology preview" release available from the official mingw website and
Python threads interact perfectly well together. You also have to pass the
-mthread option to the linker.
Sincerely,
Stéphane
--
http://mail.python.org/mailman/listinfo/python-list
|