python - how can I change feature of thread after it is started? -


i have 1 thread have change parameters before have start it. but, while running, have changed 1 variable of not reflect changes. so, how can change feature of thread after started ? have did like

    cons = con()    # con thread class     cons.inter = inter     cons.start() 

after start if change cons.inter, change not reflected. how solve ?

if "features" mean user-defined attributes of thread object (as opposed thread-class-level-defined attributes, such daemon attribute), can it, , will reflected.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -