Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #7262 > unrolled thread

Re: pthreads in C++ with embedded Python

Started byJason Tackaberry <tack@urandom.ca>
First post2011-06-08 17:11 -0400
Last post2011-06-08 17:11 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: pthreads in C++ with embedded Python Jason Tackaberry <tack@urandom.ca> - 2011-06-08 17:11 -0400

#7262 — Re: pthreads in C++ with embedded Python

FromJason Tackaberry <tack@urandom.ca>
Date2011-06-08 17:11 -0400
SubjectRe: pthreads in C++ with embedded Python
Message-ID<mailman.36.1307568228.11593.python-list@python.org>
On 11-06-07 07:29 PM, Tom Brown wrote:
> Any suggestions will be appreciated.

Why are you calling PyEval_ReleaseLock() in the CmdThread constructor?  
This looks suspicious.

Also, I don't see where CmdThread::lock() and CmdThread::unlock() are 
being invoked in your example.  Relics from your effort to create a 
reduced testcase I assume?

Cheers,
Jason.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web