Search found 2 matches

by jeroen
Tue Jun 05, 2018 12:25 pm
Forum: InpOut32 (x64)
Topic: Performance and multithreading
Replies: 2
Views: 884

Re: Performance and multithreading

yep, I use the performance timer on windows, so time accuracy is okay :-) I do realize that of course i'll have "lost milliseconds" now and then when the scheduler doesn't grant me sufficient slots but I can live with that (and detect+note it by constantly inspecting the clock) about using a pi or a...
by jeroen
Tue Jun 05, 2018 10:33 am
Forum: InpOut32 (x64)
Topic: Performance and multithreading
Replies: 2
Views: 884

Performance and multithreading

Hi, I was wondering about a few things : - how time-accurate is inpOut32 if I call it EVERY MILLISECOND ? So basically a while(1) loop that sleeps for 1msec and then polls the port. - what if I even drop the sleep() call and read the port as FAST as possible ? Would this have implications ? What is ...