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
Post a Comment