Drstein99 Posted November 18, 2004 Posted November 18, 2004 I dont see a catagory for threading so I am posting under controls. I am using threading, and tcp/ip. Throughout the TESTING of my program - the following appear in my "output" window of the compiler; The thread '<No Name>' (0xf88) has exited with code 0 (0x0). The thread '<No Name>' (0x950) has exited with code 0 (0x0). --- How do I go about finding WHAT threads those were and what started them and why they exited please? Quote www.DRSTEIN99.com www.RAIDGEAR.net www.THERE.com -> Tell them DrStein99 sent ya!
Administrators PlausiblyDamp Posted November 18, 2004 Administrators Posted November 18, 2004 If you are creating the threads manually then you can assign a name to them - makes it easier to identify later on. IIRC an exit code of 0 usually means the thread completed without any errors. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Drstein99 Posted November 18, 2004 Author Posted November 18, 2004 I am declareing this on my NEW sub; listenerThread = New Threading.Thread(AddressOf Me.DoListen) listenerThread.Name = "ListenThread" --------- so this is the only area of the program where i create new THREAD objects. If there are other objects that are considered THREADS that are declared other than NEW THREADING.THREAD for example, tcp listener, sockets, etc.... Then this MAY be the case. But I am looking for some pointers on how I can focus on where these objects are being created from and ending etc.... to find one where in my program to look. Advice is very helpful, thanks. Quote www.DRSTEIN99.com www.RAIDGEAR.net www.THERE.com -> Tell them DrStein99 sent ya!
Administrators PlausiblyDamp Posted November 18, 2004 Administrators Posted November 18, 2004 Are you using any of the async methods (BeginXXXXX, EndXXXXX) in your code? If so they will be creating and using threads behind the scenes. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Drstein99 Posted November 18, 2004 Author Posted November 18, 2004 Yes I am. I guess I gotta look into nameing those somehow, so I can trace them. Quote www.DRSTEIN99.com www.RAIDGEAR.net www.THERE.com -> Tell them DrStein99 sent ya!
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.