Hi I encountered to performance problems caused by a memory leak. My first idea was there must be a bottle neck. So I was trying to optimize and searched the web. Some sites were refiring to ndelay. Best regards, Joël On Mon, Jul 20, 2015 at 8:49 AM, Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> wrote: > Hello, > > On Fri, Jul 17, 2015 at 11:15:01PM +0200, Joël Krähemann wrote: >> Hi, since on my system /usr/include/linux/delay.h is missing I'm >> asking me how to include it and link against it. >> >> I'd like to use ndelay() instead of nanosleep(). > ndelay isn't callable from userspace. That's also the reason for not > being defined in userspace includable header files. > > Why do you think there is an advantage when using ndelay over nanosleep? > > Best regards > Uwe > > -- > Pengutronix e.K. | Uwe Kleine-König | > Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html