Hello,
Is there a method similar to Thread.IsAlive in WPF? I am wanting to run two threads together (not with backgroundworker) and have the main (sending) thread sleep while both are alive.
In standard winform I would do this.
If searched google and I cannot find a simple methode to reproduce this. Any help is appreciated.Code:while (t1.IsAlive || t2.IsAlive) { Thread.Sleep(1); }![]()




Reply With Quote