threading issues with D -> C -> Python
Ellery Newcomer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Dec 5 16:40:48 PST 2014
On 12/04/2014 10:55 PM, Ellery Newcomer wrote:
> I guess tomorrow I can try messing around with thread_attachThis, as the
> fullcollect happening in #2 might be screwing with python data. But you
> aren't really passing anything from python to d or vice versa, so I'm
> not sure why the gc would need to know about the python threads.
by gum, thread_attachThis and thread_detachThis fix the issue!
now to figure out how to use them in the general case.
More information about the Digitalmars-d-learn
mailing list