threading issues with D -> C -> Python
Michael via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Dec 7 15:12:07 PST 2014
On Saturday, 6 December 2014 at 00:40:49 UTC, Ellery Newcomer
wrote:
> 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.
This is great.. Thank you. I'm looking forward to being able to
try the finished result.
More information about the Digitalmars-d-learn
mailing list