simple threading
Mark Robinson
m.1.robinson at herts.ac.uk
Tue Oct 9 12:43:36 EDT 2001
I am trying run a particularly processor hungry function in a
seperate thread but I can't quite figure out how to return
the arguments from the object now.
previously the function call was coded as:
motifs = motifFinder.findOtherOccurances(posList, doubles)
the new code is:
motifs = thread.start_new_thread(motifFinder.findOtherOccurances,\
(posList, doubles))
The function seems to run fine, but it always returns None,
can anyone tell me what I am doing wrong?
TIA
Blobby
More information about the Python-list
mailing list