python and multi-threaded C programs

Arvind Mani marvind at Glue.umd.edu
Mon Feb 19 17:16:01 EST 2001


Hi,

I am new to python. I have a multi-threaded application in C. I would
like to create the threads in python and then use the thread routine
written in C. Is this possible?

I am doing this because, I had some problems with global variables that
are initialized in one thread but used in another. I dont need these
variables to be directly visible to the python interpreter. They are
required in functions that I call from python.


Thanks,
Arvind




More information about the Python-list mailing list