[Bf-python] Blender Python & Threading?

Toni Alatalo antont at kyperjokki.fi
Tue Jun 16 21:15:06 CEST 2009


On Jun 16, 2009, at 10:03 PM, joe wrote:

> No it's not, python uses "green threads", and it requires additional
> support on the py c api side (which none of us have figured out yet,

huh? i thought it's normal threads.

you can create them, but don't expect the api to be thread safe .. 
having a thread that does something else and doesn't call blender might 
work ok. then a normal py thing run by blender could communicate with 
that.

often though when you think you need threads, you don't, depends on the 
prob.

> Joe

~Toni

>
> On Tue, Jun 16, 2009 at 2:17 AM, Florian Lier<blender at icram.de> wrote:
>> Hey there,
>>
>> here's another question...is it possbile to start at least 2 threads 
>> in a
>> blender python script?
>> I've asked google and it says both: YES, but there are problems... 
>> and NO,
>> now way.
>>
>> Would be great if someone could drop me a line!
>>
>> 10q, Florian
>>
>>
>>
>> _______________________________________________
>> Bf-python mailing list
>> Bf-python at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-python
>>
>>
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://lists.blender.org/mailman/listinfo/bf-python




More information about the Bf-python mailing list