|
-
Mar 16th, 2010, 03:33 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Thread.IsAlive ???
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.
Code:
while (t1.IsAlive || t2.IsAlive)
{
Thread.Sleep(1);
}
If searched google and I cannot find a simple methode to reproduce this. Any help is appreciated.
-
Mar 16th, 2010, 03:47 PM
#2
Thread Starter
Addicted Member
Re: Thread.IsAlive ???
ignore.... had a brain fart and was looking to do something different.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|