Click here to Skip to main content
14,302,017 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
Rant@§$%& time management - edited Pin
Nelek24-Apr-19 2:51
protectorNelek24-Apr-19 2:51 
GeneralRe: @§$%& time management Pin
  Forogar  24-Apr-19 3:10
professional  Forogar  24-Apr-19 3:10 
GeneralRe: @§$%& time management Pin
den2k8824-Apr-19 3:27
professionalden2k8824-Apr-19 3:27 
GeneralRe: @§$%& time management Pin
Nelek24-Apr-19 9:53
protectorNelek24-Apr-19 9:53 
GeneralRe: @§$%& time management Pin
theoldfool24-Apr-19 3:48
professionaltheoldfool24-Apr-19 3:48 
GeneralRe: @§$%& time management Pin
den2k8824-Apr-19 3:52
professionalden2k8824-Apr-19 3:52 
GeneralRe: @§$%& time management Pin
Munchies_Matt24-Apr-19 4:29
memberMunchies_Matt24-Apr-19 4:29 
GeneralRe: @§$%& time management Pin
den2k8824-Apr-19 5:18
professionalden2k8824-Apr-19 5:18 
Munchies_Matt wrote:
What I have done is to use a loop count in code (the code can work out the number to count up to to for a given time period at start up).

That's a powerful solution. Mine was simpler for simpler needs, it broke down the wait time in time slices and used the usual SleepEx to save CPU time, in the remainder it used a stupid loop that checked the high precision timer - after all this time slice has been assigned to my thread, might as well use it.

But the problem was simpler, I just had to prevent two data packets being sent back-to-back forcing a delay, because the target device would get FUBAR if a request would arrive while it was still processing the previous one.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

GeneralRe: @§$%& time management Pin
Munchies_Matt24-Apr-19 6:03
memberMunchies_Matt24-Apr-19 6:03 
GeneralRe: @§$%& time management Pin
theoldfool24-Apr-19 5:02
professionaltheoldfool24-Apr-19 5:02 
GeneralRe: @§$%& time management Pin
den2k8824-Apr-19 5:13
professionalden2k8824-Apr-19 5:13 
GeneralRe: @§$%& time management Pin
Daniel Pfeffer24-Apr-19 5:15
professionalDaniel Pfeffer24-Apr-19 5:15 
GeneralRe: @§$%& time management Pin
Nelek24-Apr-19 19:12
protectorNelek24-Apr-19 19:12 
GeneralRe: @§$%& time management Pin
Daniel Pfeffer24-Apr-19 21:45
professionalDaniel Pfeffer24-Apr-19 21:45 
GeneralRe: @§$%& time management Pin
Nelek24-Apr-19 23:51
protectorNelek24-Apr-19 23:51 
GeneralRe: @§$%& time management Pin
Sander Rossel24-Apr-19 9:32
professionalSander Rossel24-Apr-19 9:32 
GeneralRe: @§$%& time management Pin
Nelek24-Apr-19 10:00
protectorNelek24-Apr-19 10:00 
GeneralAs If You Didn't Already Know PinPopular
W Balboos24-Apr-19 2:18
mveW Balboos24-Apr-19 2:18 
GeneralRe: As If You Didn't Already Know Pin
glennPattonWork24-Apr-19 2:31
professionalglennPattonWork24-Apr-19 2:31 
GeneralRe: As If You Didn't Already Know Pin
Marc Clifton24-Apr-19 4:22
protectorMarc Clifton24-Apr-19 4:22 
GeneralRe: As If You Didn't Already Know Pin
Rajesh R Subramanian24-Apr-19 7:08
professionalRajesh R Subramanian24-Apr-19 7:08 
GeneralRe: As If You Didn't Already Know Pin
ZurdoDev24-Apr-19 11:02
professionalZurdoDev24-Apr-19 11:02 
GeneralRe: As If You Didn't Already Know Pin
Richard Deeming24-Apr-19 8:47
mveRichard Deeming24-Apr-19 8:47 
GeneralRe: As If You Didn't Already Know Pin
Mark_Wallace24-Apr-19 10:52
memberMark_Wallace24-Apr-19 10:52 
JokeRe: As If You Didn't Already Know Pin
Richard Deeming24-Apr-19 8:47
mveRichard Deeming24-Apr-19 8:47 

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.