Lou DeGenaro <[EMAIL PROTECTED]> writes:
>
> Can the generated code be used my multiple threads?
> Lou.
generateDS.py generates plain Python classes. That code is as thread safe as
any Python code, no more and no less. There is no thread-specific code in the
generated code.
If you are asking whether (plain) Python code is thread safe, you might want to
look here:
http://www.devshed.com/c/a/Python/Basic-Threading-in-Python/
Where are you creating your multiple threads? If you are creating threads in
Python, then you will want to read about the "thread" and the "threading"
modules here:
http://docs.python.org/library/someos.html
If you need more help than that, perhaps someone who understands how to write
multi-threaded code will add something.
Hopes this helps.
- Dave
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
generateds-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/generateds-users