Click here to Skip to main content
15,892,161 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: events between two threads Pin
igalep1325-Dec-10 10:53
igalep1325-Dec-10 10:53 
AnswerRe: events between two threads Pin
SledgeHammer015-Dec-10 11:02
SledgeHammer015-Dec-10 11:02 
GeneralRe: events between two threads Pin
igalep1325-Dec-10 11:05
igalep1325-Dec-10 11:05 
AnswerRe: events between two threads Pin
Ray Cassick7-Dec-10 9:03
Ray Cassick7-Dec-10 9:03 
GeneralRe: events between two threads Pin
igalep1327-Dec-10 9:56
igalep1327-Dec-10 9:56 
GeneralRe: events between two threads Pin
Ray Cassick7-Dec-10 16:20
Ray Cassick7-Dec-10 16:20 
GeneralRe: events between two threads Pin
igalep13211-Dec-10 0:28
igalep13211-Dec-10 0:28 
GeneralRe: events between two threads Pin
Ray Cassick16-Dec-10 6:23
Ray Cassick16-Dec-10 6:23 
Sorry, I have been away for a while on vacation...

I am a bit confused when you mention recursion... if you are just sitting there waiting for a user to answer a question then you are really not using recursion.... you really just need to let that thread spin on and wait for a request from the client. Just put the processing in your separate thread into a loop that keeps it cycling until it gets a request from the host to perform some processing. Because it is on a separate thread it will not interfere with processing while it is just waiting.

Usually you just wrap everything in your thread function inside a do loop that watches for different flag settings to know when it needs to abort and end or process some data.

GeneralRe: events between two threads Pin
igalep13218-Dec-10 11:18
igalep13218-Dec-10 11:18 
Questionchecking processes Pin
arkiboys3-Dec-10 2:58
arkiboys3-Dec-10 2:58 
AnswerRe: checking processes Pin
Pete O'Hanlon3-Dec-10 4:37
mvePete O'Hanlon3-Dec-10 4:37 
GeneralRe: checking processes Pin
arkiboys3-Dec-10 5:43
arkiboys3-Dec-10 5:43 
GeneralRe: checking processes Pin
Pete O'Hanlon3-Dec-10 7:19
mvePete O'Hanlon3-Dec-10 7:19 
GeneralRe: checking processes Pin
arkiboys3-Dec-10 11:00
arkiboys3-Dec-10 11:00 
GeneralRe: checking processes Pin
Pete O'Hanlon3-Dec-10 11:01
mvePete O'Hanlon3-Dec-10 11:01 
GeneralRe: checking processes Pin
arkiboys3-Dec-10 11:02
arkiboys3-Dec-10 11:02 
AnswerRe: checking processes Pin
Abhinav S3-Dec-10 23:22
Abhinav S3-Dec-10 23:22 
QuestionStandard Button Layout Pin
PaulPrice3-Dec-10 0:20
PaulPrice3-Dec-10 0:20 
AnswerRe: Standard Button Layout Pin
Abhinav S3-Dec-10 1:07
Abhinav S3-Dec-10 1:07 
GeneralRe: Standard Button Layout Pin
PaulPrice3-Dec-10 2:04
PaulPrice3-Dec-10 2:04 
AnswerRe: Standard Button Layout Pin
Pete O'Hanlon3-Dec-10 1:16
mvePete O'Hanlon3-Dec-10 1:16 
JokeRe: Standard Button Layout Pin
PaulPrice3-Dec-10 2:02
PaulPrice3-Dec-10 2:02 
GeneralRe: Standard Button Layout Pin
Pete O'Hanlon3-Dec-10 4:35
mvePete O'Hanlon3-Dec-10 4:35 
QuestionDependancyProperty Confusion with Custom Controls and ModelView Pin
PaulPrice2-Dec-10 3:13
PaulPrice2-Dec-10 3:13 
AnswerRe: DependancyProperty Confusion with Custom Controls and ModelView Pin
Ian Shlasko2-Dec-10 3:55
Ian Shlasko2-Dec-10 3: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.