Click here to Skip to main content
15,911,306 members
Home / Discussions / C#
   

C#

 
QuestionSyntax-Hilighting Pin
DigitalKing3-Feb-06 15:24
DigitalKing3-Feb-06 15:24 
AnswerRe: Syntax-Hilighting Pin
Dave Kreskowiak3-Feb-06 16:03
mveDave Kreskowiak3-Feb-06 16:03 
QuestionWSE 3.0: How to add a X509TokenProvider for SystemAccount Pin
Eugenio Lysei Junior3-Feb-06 13:38
Eugenio Lysei Junior3-Feb-06 13:38 
QuestionProxy Problem Please help Pin
snouto3-Feb-06 12:59
snouto3-Feb-06 12:59 
AnswerRe: Proxy Problem Please help Pin
Dave Kreskowiak3-Feb-06 13:43
mveDave Kreskowiak3-Feb-06 13:43 
QuestionThread Timing Issues (Debug/Release) Pin
Office Lineman3-Feb-06 12:51
Office Lineman3-Feb-06 12:51 
AnswerRe: Thread Timing Issues (Debug/Release) Pin
Guffa3-Feb-06 13:16
Guffa3-Feb-06 13:16 
AnswerRe: Thread Timing Issues (Debug/Release) Pin
Dave Kreskowiak3-Feb-06 13:18
mveDave Kreskowiak3-Feb-06 13:18 
I think I can speak for all of us when I say "Huh?"

What do you "timing issue"?

If you're trying to keep two threads in sync, you'll have to use some kind of synchronization mechinism. You absolutely cannot trust that two threads are going to run at exactly the same speed on every machine, let alone run after run on the same machine, or even under slightly differing conditions, like you've already discovered.

Off the top of my head, I'm guessing you'll have to implement some kind of "checkpoint" system, depending on what these threads are doing, where each checkpoint will only release when both threads make it to the same point. The down side of this is a lock condition where a thread waits forever for the other thread to get to the checkpoint, but the other thread has failed and aborted for some reason.




RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Thread Timing Issues (Debug/Release) Pin
Office Lineman3-Feb-06 14:01
Office Lineman3-Feb-06 14:01 
Joke(OT) Re: Thread Timing Issues (Debug/Release) Pin
mav.northwind3-Feb-06 21:43
mav.northwind3-Feb-06 21:43 
GeneralRe: (OT) Re: Thread Timing Issues (Debug/Release) Pin
Dave Kreskowiak4-Feb-06 7:06
mveDave Kreskowiak4-Feb-06 7:06 
QuestionShowing a Form quickly Pin
ranzask3-Feb-06 12:20
ranzask3-Feb-06 12:20 
AnswerRe: Showing a Form quickly Pin
Dave Kreskowiak3-Feb-06 13:35
mveDave Kreskowiak3-Feb-06 13:35 
GeneralRe: Showing a Form quickly Pin
ranzask3-Feb-06 14:19
ranzask3-Feb-06 14:19 
GeneralRe: Showing a Form quickly Pin
Dave Kreskowiak3-Feb-06 15:49
mveDave Kreskowiak3-Feb-06 15:49 
Question.xsd Pin
fmardani3-Feb-06 12:02
fmardani3-Feb-06 12:02 
Question.xsd files Pin
fmardani3-Feb-06 10:36
fmardani3-Feb-06 10:36 
QuestionFun with setting subproperties through reflection Pin
tantiboh3-Feb-06 10:08
tantiboh3-Feb-06 10:08 
QuestionLisview 2.0 Databinding Pin
machocr3-Feb-06 9:05
machocr3-Feb-06 9:05 
AnswerRe: Lisview 2.0 Databinding Pin
Ravi Bhavnani3-Feb-06 9:37
professionalRavi Bhavnani3-Feb-06 9:37 
GeneralRe: Lisview 2.0 Databinding Pin
machocr3-Feb-06 11:03
machocr3-Feb-06 11:03 
QuestionAquiring publish version number Pin
Nazadus3-Feb-06 9:05
Nazadus3-Feb-06 9:05 
QuestionComparing Data Pin
Kenneth Childs3-Feb-06 8:21
Kenneth Childs3-Feb-06 8:21 
AnswerRe: Comparing Data Pin
Pualee3-Feb-06 8:34
Pualee3-Feb-06 8:34 
GeneralRe: Comparing Data Pin
Kenneth Childs3-Feb-06 8:39
Kenneth Childs3-Feb-06 8:39 

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.