Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
AnswerRe: ip address Pin
Mogaambo25-Jul-08 1:34
Mogaambo25-Jul-08 1:34 
QuestionReflection in a Windows Service & WCF Pin
Bernard Laplace24-Jul-08 1:58
Bernard Laplace24-Jul-08 1:58 
AnswerRe: Reflection in a Windows Service & WCF Pin
Bernard Laplace24-Jul-08 5:28
Bernard Laplace24-Jul-08 5:28 
Questionimage manipulation Pin
Zafar Sultan24-Jul-08 1:28
Zafar Sultan24-Jul-08 1:28 
AnswerRe: image manipulation Pin
CPallini24-Jul-08 1:49
mveCPallini24-Jul-08 1:49 
QuestionThread.Sleep(1) taking much longer on Vista than on XP. Pin
Yeates24-Jul-08 0:43
Yeates24-Jul-08 0:43 
AnswerRe: Thread.Sleep(1) taking much longer on Vista than on XP. Pin
Anthony Mushrow24-Jul-08 1:14
professionalAnthony Mushrow24-Jul-08 1:14 
GeneralRe: Thread.Sleep(1) taking much longer on Vista than on XP. Pin
Luc Pattyn24-Jul-08 2:31
sitebuilderLuc Pattyn24-Jul-08 2:31 
Hi,

While your code is a big improvement over the original one, your statement

SK Genius wrote:
That way you know it will be exactly the same every time.


is overly optimistic. The delay will jitter due to timing uncertainty (see my timers
article), and of course every time you give up the CPU you are not sure to get it back
when you want it. There may be dozens of other ready threads, wanting to burn some
CPU cycles.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Voting for dummies? No thanks. Dead | X|


GeneralRe: Thread.Sleep(1) taking much longer on Vista than on XP. Pin
Anthony Mushrow24-Jul-08 4:04
professionalAnthony Mushrow24-Jul-08 4:04 
GeneralRe: Thread.Sleep(1) taking much longer on Vista than on XP. Pin
Yeates24-Jul-08 4:03
Yeates24-Jul-08 4:03 
GeneralRe: Thread.Sleep(1) taking much longer on Vista than on XP. Pin
Dan Neely24-Jul-08 5:50
Dan Neely24-Jul-08 5:50 
GeneralRe: Thread.Sleep(1) taking much longer on Vista than on XP. Pin
JoeRip24-Jul-08 12:21
JoeRip24-Jul-08 12:21 
AnswerRe: Thread.Sleep(1) taking much longer on Vista than on XP. Pin
Dan Neely24-Jul-08 2:22
Dan Neely24-Jul-08 2:22 
AnswerRe: Thread.Sleep(1) taking much longer on Vista than on XP. Pin
Luc Pattyn24-Jul-08 2:28
sitebuilderLuc Pattyn24-Jul-08 2:28 
Questionpopulating collection of collection Pin
arkiboys24-Jul-08 0:37
arkiboys24-Jul-08 0:37 
AnswerRe: populating collection of collection Pin
Wendelius24-Jul-08 7:08
mentorWendelius24-Jul-08 7:08 
QuestionEnable Apply button when needed Pin
JoZ CaVaLLo23-Jul-08 23:57
JoZ CaVaLLo23-Jul-08 23:57 
AnswerRe: Enable Apply button when needed Pin
Christian Graus24-Jul-08 0:03
protectorChristian Graus24-Jul-08 0:03 
AnswerRe: Enable Apply button when needed Pin
N a v a n e e t h24-Jul-08 0:07
N a v a n e e t h24-Jul-08 0:07 
AnswerRe: Enable Apply button when needed Pin
nelsonpaixao24-Jul-08 14:23
nelsonpaixao24-Jul-08 14:23 
Questioncrysatal reports Pin
lankaudaranga23-Jul-08 23:31
lankaudaranga23-Jul-08 23:31 
Questionunable to kill com object Pin
Mogaambo23-Jul-08 22:23
Mogaambo23-Jul-08 22:23 
AnswerRe: unable to kill com object Pin
0x3c024-Jul-08 0:18
0x3c024-Jul-08 0:18 
GeneralRe: unable to kill com object Pin
Mogaambo24-Jul-08 1:28
Mogaambo24-Jul-08 1:28 
AnswerRe: unable to kill com object Pin
stancrm24-Jul-08 2:48
stancrm24-Jul-08 2:48 

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.