View Single Post
  #1  
Old 10-19-2004, 04:25 PM
tavaksai tavaksai is offline
Member
 
Join Date: Jul 2004
Posts: 22
running into a thread limit

Hi guys,

I found a problem having to do with threads. I am not sure if this is a bug or if I am doing something wrong.

Basically, after executing a certain number of threads or calling functions that use threads (I am guessing Vizard's <multimedia>.play() uses a thread and I know viz.director() starts a thread), Vizard refuses to create or run any more threads. I load many multimedia files into my application (a dozen .avi and a dozen .wav) and I think that may be the cause. After certain number of calls <multimedia>.play() seems to generate the following error:
FAILED (hr=0x80007000e) in pMC->Run()
Also, if I load two dozen multimedia files and then start creating threads using python's thread library ( example: thread.start_new_thread(Animate, ()) ), eventually I get an error that says something like, "Failed to create thread" even if I don't call <multimedia>.play() at all.

Is this a bug in Vizard?

Max
Reply With Quote