User Profile
Collapse
-
Ah, that makes more sense. I was making an extremely bad assumption. I'm new when it comes to using threading and am trying to catch up, thanks for the help! -
Unfortunately I need threads because I'm dealing with simulating execution paths that are in parallel, and need to be run in parallel to be sufficiently tested. I wish it weren't the case. :/...Leave a comment:
-
Hmm, I did some testing with the .join and it doesn't seem to block the calling thread, I believe all of you of course, but this is the code I used, if you could tell me where and how I am misinterpreting this, I'd greatly appreciate it.
For example, when I do this...
...Code:static void Main(string[] args) { Thread t1 = new Thread(methodName); t1.Name = "t1";Leave a comment:
-
Threading .Join method
I've been finding different and confusing descriptions of the .join method pertaining to threads online, I've tried it in a few tests and this is what I'm gathering...
I am under the impression, contrary to some websites I have visited, that the .join method blocks any other threads from starting until the calling thread is finished. Also, if another thread has already started before the .join is called, it is not affected and continues...
No activity results to display
Show More
Leave a comment: