[off topic] A pause in C?

1998-10-07 Thread Michael Beattie
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 70 iterations.. works okay, but on a faster system it will die.. (needed to slow down I/O with an interface card) I was looking at the info page for libc (which seems to

Re: [off topic] A pause in C?

1998-10-07 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], Michael Beattie [EMAIL PROTECTED] wrote: I am after a way to generate a pause of 300ns in a C program I am working on. In general, you cannot guarantee pauses in a multitasking system like Unix or Linux. Pauses can be set in microseconds using usleep(), but not in

Re: [off topic] A pause in C?

1998-10-07 Thread Michael Stone
Quoting Michael Beattie ([EMAIL PROTECTED]): 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 70 iterations.. works okay, but on a faster system it will die.. (needed to slow down I/O with an interface card) man

Re: [off topic] A pause in C?

1998-10-07 Thread Michael Beattie
On Tue, 6 Oct 1998, Michael Stone wrote: Quoting Michael Beattie ([EMAIL PROTECTED]): 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 70 iterations.. works okay, but on a faster system it will die.. (needed to

Re: [off topic] A pause in C?

1998-10-07 Thread Michael Beattie
On 7 Oct 1998, Miquel van Smoorenburg wrote: In article [EMAIL PROTECTED], Michael Beattie [EMAIL PROTECTED] wrote: I am after a way to generate a pause of 300ns in a C program I am working on. In general, you cannot guarantee pauses in a multitasking system like Unix or Linux. Pauses can

Re: [off topic] A pause in C?

1998-10-07 Thread Rodrigo Moya
-Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: debian-user@lists.debian.org debian-user@lists.debian.org Date: 07 October 1998 01:42 Subject: [off topic] A pause in C? I am after a way to generate a pause of 300ns in a C program I am working on. At the moment, I am