← Back to team overview

yade-users team mailing list archive

pyRunner thread resource error

 

Hi all,

I have pyRunner which calls the function:

def strengthReduction():
    O.pause()
    O.wait()
    uf = utils.unbalancedForce()
    if uf<0.01:
        reduceFric() #another function
    if uf<10000.0  #continue running if stable,  otherwise stop if unstable
        O.run()

After some iterations, I get boost::thread_resource_error.  Does
anyone know how to go about solving this?


Boon