Click here to Skip to main content
15,923,083 members
Home / Discussions / C#
   

C#

 
AnswerRe: events between two threads Pin
Luc Pattyn5-Dec-10 8:45
sitebuilderLuc Pattyn5-Dec-10 8:45 
GeneralRe: events between two threads Pin
igalep1325-Dec-10 8:55
igalep1325-Dec-10 8:55 
GeneralRe: events between two threads Pin
Luc Pattyn5-Dec-10 9:42
sitebuilderLuc Pattyn5-Dec-10 9:42 
GeneralRe: events between two threads Pin
igalep1325-Dec-10 9:48
igalep1325-Dec-10 9:48 
GeneralRe: events between two threads Pin
Luc Pattyn5-Dec-10 9:57
sitebuilderLuc Pattyn5-Dec-10 9:57 
AnswerRe: events between two threads Pin
Not Active5-Dec-10 9:28
mentorNot Active5-Dec-10 9:28 
GeneralRe: events between two threads Pin
igalep1325-Dec-10 9:38
igalep1325-Dec-10 9:38 
GeneralRe: events between two threads Pin
Not Active5-Dec-10 9:56
mentorNot Active5-Dec-10 9:56 
It continues to run because you don't stop it obviously. You are in complete control of the code, stop the execution, exit the thread.

Why is it recursive? IMO, from what you have described it doesn't need to be. Accept the user input, complete the search, exit and repeat as necessary.

I know the language. I've read a book. - _Madmatt

GeneralRe: events between two threads [modified] Pin
igalep1325-Dec-10 10:47
igalep1325-Dec-10 10:47 
AnswerRe: yield Pin
Luc Pattyn5-Dec-10 11:25
sitebuilderLuc Pattyn5-Dec-10 11:25 
GeneralRe: yield Pin
Not Active5-Dec-10 11:32
mentorNot Active5-Dec-10 11:32 
GeneralRe: yield Pin
Pete O'Hanlon5-Dec-10 11:33
mvePete O'Hanlon5-Dec-10 11:33 
GeneralRe: yield Pin
Luc Pattyn5-Dec-10 11:37
sitebuilderLuc Pattyn5-Dec-10 11:37 
GeneralRe: yield Pin
igalep13211-Dec-10 0:45
igalep13211-Dec-10 0:45 
GeneralRe: yield Pin
Luc Pattyn11-Dec-10 1:00
sitebuilderLuc Pattyn11-Dec-10 1:00 
GeneralRe: yield [modified] Pin
igalep13211-Dec-10 4:53
igalep13211-Dec-10 4:53 
AnswerRe: yield Pin
Luc Pattyn11-Dec-10 14:03
sitebuilderLuc Pattyn11-Dec-10 14:03 
GeneralRe: events between two threads Pin
Not Active5-Dec-10 11:38
mentorNot Active5-Dec-10 11:38 
GeneralRe: events between two threads [modified] Pin
igalep1326-Dec-10 10:40
igalep1326-Dec-10 10:40 
GeneralRe: events between two threads Pin
Not Active6-Dec-10 10:58
mentorNot Active6-Dec-10 10:58 
GeneralRe: events between two threads Pin
igalep1326-Dec-10 11:14
igalep1326-Dec-10 11:14 
AnswerRe: events between two threads Pin
Luc Pattyn5-Dec-10 12:27
sitebuilderLuc Pattyn5-Dec-10 12:27 
AnswerRe: events between two threads Pin
Pete O'Hanlon5-Dec-10 9:31
mvePete O'Hanlon5-Dec-10 9:31 
GeneralRe: events between two threads Pin
igalep1325-Dec-10 9:37
igalep1325-Dec-10 9:37 
GeneralRe: events between two threads Pin
Not Active5-Dec-10 9:55
mentorNot Active5-Dec-10 9:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.