launch a thread with a NON-VOID method?
- From: "titan nyquist" <titan.nyquist@xxxxxxxxx>
- Date: 16 Apr 2007 11:18:52 -0700
I have launched threads with void methods, like so:
TestClass testClass = new TestClass();
Thread testThread = new Thread(testClass.Launch);
testThread.Start();
Where testClass.Launch is void, this works.
I want to make testClass.Launch return a value (bool). Can I do this?
Titan
.
- Follow-Ups:
- Re: launch a thread with a NON-VOID method?
- From: Ignacio Machin \( .NET/ C# MVP \)
- Re: launch a thread with a NON-VOID method?
- From: Jon Skeet [C# MVP]
- Re: launch a thread with a NON-VOID method?
- Prev by Date: Re: Pressing Enter on ListBox should invoke DoubleClick
- Next by Date: Re: String.LastIndexOf() Am I Retarded?
- Previous by thread: Tray process question
- Next by thread: Re: launch a thread with a NON-VOID method?
- Index(es):