[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [off topic] A pause in C?



Quoting Michael Beattie (mickyb@es.co.nz):
> I am after a way to generate a pause of 300ns in a C program I am working
> on. At the moment, I am using a for loop of about 700000 iterations..
> works okay, but on a faster system it will die.. (needed to slow down I/O
> with an interface card)

man nanosleep

Mike Stone


Reply to: